mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-01-31 18:51:39 +00:00
Make xonotic-map-compiler use cmake.
This commit is contained in:
parent
3125fa3054
commit
33aa8d8b57
@ -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
|
||||
|
@ -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*';
|
||||
|
Loading…
Reference in New Issue
Block a user