mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-08-15 07:39:32 +00:00
Renamed the generated file to be the same as the non-amalgamated file, updating the script (and docs) accordinly. Added an example of generated amalgamated header and source.
12 lines
366 B
Bash
Executable File
12 lines
366 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "Amalgamating files... this can take a while"
|
|
echo "Note: basisu_transcoder_tables_bc7_m6.inc is excluded"
|
|
./combine.sh -r ../../transcoder -x basisu_transcoder_tables_bc7_m6.inc -o -o basisu_transcoder.cpp basisu_transcoder-in.cpp
|
|
# Did combining work?
|
|
if [ $? -ne 0 ]; then
|
|
echo "Combine script: FAILED"
|
|
exit 1
|
|
fi
|
|
echo "Combine script: PASSED"
|