Make xonotic-map-compiler use cmake.

This commit is contained in:
Rudolf Polzer 2019-10-11 18:38:08 +02:00
parent 3125fa3054
commit 33aa8d8b57
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -13,7 +13,7 @@ use File::Temp;
# 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*';