Commit Graph
6 Commits
Author SHA1 Message Date
Carl Woffenden e2d1f6b79e Added combiner option to keep "#pragma once" directives
Keeping the "#pragma once" directives in the combined headers but not in the combined source.
2019-10-02 12:32:34 +02:00
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
Carl Woffenden a5c36a5291 -x included error if used
The -x include files error if used (saying they were excluded). Changed the trancoder to surround the BC7 mode 6 include with guards.
2019-09-30 15:15:13 +02:00
Carl Woffenden 5c77348a8a Added exclude option, improved example
Added -x option to the script to exclude files, then used it to exclude the large BC7 mode 6 tables. Added mipmap transcoding to the example for completeness.
2019-09-28 07:04:29 +02:00
Carl Woffenden cd05206205 Fixed standalone compilation warnings
Fixed -Wno-pragma-once-outside-header requirement (removing 'pragma once' in combiner script). Minor docs.
2019-09-28 07:04:29 +02:00
Carl Woffenden bd8feea6d9 Initial commit
Added combine script.  Created initial Emscripten example.
2019-09-28 07:04:29 +02:00