Sandy Carter
a1a7828ab0
Fix the way headers are installed
...
Fix missing bx headers when compiling SHARED
Fix compat and tinystl being installed in include root
Move submodule specific installs to their respecive config files.
2023-07-14 23:28:00 -04:00
Hristo Stamenov
487fa0c63b
Refactored the conditions a bit
2023-05-02 00:55:01 -04:00
Hristo Iliev
9670cf4f43
Improvments on the shader compiler utility
...
The custom command didn't recognize bgfx::shaderc and the generator expression seems bettter. I also added an include option since it might be important to be able to define those.
Added changes to each of the cmake files to make sure bgfx:: is defined
Also add an output variable name parameter.
Co-Authored-By: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-02 00:55:01 -04:00
Sandy Carter
13fda4c089
install: Move install(TARGET) calls to target scope
...
CMake prior to 3.13 require to be done in the same directory they were created
2023-02-19 09:04:28 -05:00
Sandy Carter
a6e266e326
Fix uses of sourceless exe/lib declarations
...
The feature to add targets without sources was added in cmake 3.11, in order to
be compatible with 3.6 and 3.11, target_sources call was removed
2023-02-19 09:04:28 -05:00
Sandy Carter
034462fd2a
Add option to prefix tool names to avoid conflicts
...
For example the shaderc is used by dawn and an installation might want to
prefix bgfx's shaderc with bgfx-shaderc
2023-01-21 16:05:46 -05:00
Sandy Carter
7da3b0ed77
tools: Use dependent options
2023-01-15 22:08:41 -05:00
Sandy Carter
95a0a20a01
bimg: Add texturec and cmake macro
2023-01-14 22:10:06 -05:00
Sandy Carter
c1640a666b
Move edtaa to file
2023-01-14 22:10:06 -05:00
Sandy Carter
850c227403
Move etc1 to file
2023-01-14 22:10:06 -05:00
Sandy Carter
2f2b00cc05
Move etc2 to file
2023-01-14 22:10:06 -05:00
Sandy Carter
6f741542d9
Move nvtt to file
2023-01-14 22:10:06 -05:00
Sandy Carter
e2c9bd0254
Move pvrtc to file
2023-01-14 22:10:06 -05:00
Sandy Carter
edb0b19c6f
Move iqa sources to file
2023-01-14 22:10:06 -05:00
Sandy Carter
32508a2289
Add loadpng sources to file
2023-01-14 22:10:06 -05:00
Sandy Carter
4f4e484333
Move astc-encode to file
2023-01-14 22:10:06 -05:00
Sandy Carter
067672c661
Move tinyexr definitions to file
2023-01-14 22:10:06 -05:00
Sandy Carter
4a1f7581a6
Move libsquish definitions to file
2023-01-14 22:10:06 -05:00
Sandy Carter
03b690a4ab
Move miniz definitions to file
2023-01-14 22:10:06 -05:00
Sandy Carter
03951e805c
bimg: Restructure bimg*.cmake to be more like bimg*.lua
2023-01-14 22:10:06 -05:00
Sandy Carter
422e7cf0f8
bimg: Move bimg config to its own directory
2023-01-14 22:10:06 -05:00