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
# Path to your q3map2 program. You find it in your GtkRadiant/install
# directory.
- our $Q3MAP2 = getcwd() . '/netradiant/install/q3map2';
+ our $Q3MAP2 = getcwd() . '/netradiant/build/q3map2';
# General flags for q3map2 (for example -threads 4)
our $Q3MAP2FLAGS = '-fs_forbiddenpath xonotic*-data*.pk3* -fs_forbiddenpath xonotic*-nexcompat*.pk3*';