2022-02-08 18:42:28 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
cd ../
|
2024-01-06 22:33:52 +00:00
|
|
|
|
|
|
|
# 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
|
2024-01-06 22:33:52 +00:00
|
|
|
|
2022-02-08 18:42:28 +00:00
|
|
|
# create build directories
|
2023-02-05 21:03:57 +00:00
|
|
|
mkdir -p build/{fte,standard}
|
2024-01-06 22:33:52 +00:00
|
|
|
|
2022-02-08 18:42:28 +00:00
|
|
|
cd bin/
|
2024-01-06 22:33:52 +00:00
|
|
|
|
|
|
|
# build..
|
|
|
|
echo "Compiling FTE CSQC.."
|
2024-01-09 22:45:23 +00:00
|
|
|
./fteqcc-cli-lin -srcfile ../progs/fte-client.src | grep -E -i "warning |error |defined |not |unknown |branches"
|
2024-01-06 22:33:52 +00:00
|
|
|
echo "Compiling FTE SSQC.."
|
2024-01-09 22:45:23 +00:00
|
|
|
./fteqcc-cli-lin -O2 -srcfile ../progs/fte-server.src | grep -E -i "warning |error |defined |not |unknown |branches"
|
2024-01-06 22:33:52 +00:00
|
|
|
echo "Compiling Standard/Id SSQC.."
|
2024-01-09 22:45:23 +00:00
|
|
|
./fteqcc-cli-lin -O2 -srcfile ../progs/standard.src | grep -E -i "warning |error |defined |not |unknown |branches"
|
2024-01-06 22:33:52 +00:00
|
|
|
|
|
|
|
echo "End of script."
|