quakec/tools/qc-compiler-win.bat

24 lines
581 B
Batchfile
Raw Normal View History

2022-02-08 18:42:28 +00:00
@ECHO OFF
2022-02-08 18:42:28 +00:00
CD ../
REM ****** generate hash table ******
echo Generating Hash Table..
2024-01-07 23:14:35 +00:00
python3 bin\qc_hash_generator.py -i tools\asset_conversion_table.csv -o source\server\hash_table.qc
2022-02-08 18:42:28 +00:00
REM ****** create build directories ******
MKDIR build\fte\ 2>nul
MKDIR build\standard\ 2>nul
2022-02-08 18:42:28 +00:00
CD bin/
REM ****** build.. ******
echo Compiling FTE CSQC..
fteqcc-cli-win.exe -srcfile ../progs/csqc.src
echo Compiling FTE SSQC..
fteqcc-cli-win.exe -O3 -DFTE -srcfile ../progs/ssqc.src
echo Compiling Standard/Id SSQC..
fteqcc-cli-win.exe -O3 -srcfile ../progs/ssqc.src
echo End of script.
pause