Files
basis_universal/contrib/single_file_transcoder/create_transcoder.sh
Carl Woffenden c04d24dd12 Generated file is now basisu_transcoder.cpp
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.
2019-10-01 15:56:59 +02:00

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"