]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/infrastructure/xonotic-map-compiler.cron
Make xonotic-map-compiler use cmake.
[xonotic/xonotic.git] / misc / infrastructure / xonotic-map-compiler.cron
index 6434f9649c23bdc895bf0c4297429bbef243f36c..e9b69d871672950f60dc2ad5387fa94c35dc72f6 100755 (executable)
@@ -11,7 +11,7 @@ trap 'exit 1' INT TERM
 
 set -e
 cd xonotic-map-compiler
-./all clean -m -fU -D
-# like reclone but do not delete untracked, so q3map2.x86 compile stays
-make -C netradiant install/q3map2.x86
+./all clean -m -fU -D # like reclone but do not delete untracked, so q3map2.x86 compile stays
+cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
+cmake --build build -- q3map2
 ./misc/tools/xonotic-map-compiler-autobuild build