Commit Graph

401 Commits

Author SHA1 Message Date
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
v1.118.8398-401
2023-01-21 16:05:46 -05:00
Sandy Carter
7da3b0ed77 tools: Use dependent options v1.118.8398-400 2023-01-15 22:08:41 -05:00
Sandy Carter
b89e3acb3b bgfx: move shared 2023-01-15 22:08:41 -05:00
Sandy Carter
ba2948e099 bgfx: Move shaderc to bgfx with 3rdparties 2023-01-15 22:08:41 -05:00
Sandy Carter
10501b78f4 bgfx: Move example to bgfx and split off imgui 2023-01-15 22:08:41 -05:00
Sandy Carter
8d130b923d bgfx: Move geometryc and add cmake macro 2023-01-15 22:08:41 -05:00
Sandy Carter
eb5a7d5f07 bgfx: Move geometryv config to bgfx dir 2023-01-15 22:08:41 -05:00
Sandy Carter
1e2f0ce9aa bgfx: Move texturev config to bgfx dir 2023-01-15 22:08:41 -05:00
Sandy Carter
052734d07a bgfx: Move bgfx config to its own directory 2023-01-15 22:08:41 -05:00
Sandy Carter
95a0a20a01 bimg: Add texturec and cmake macro v1.118.8398-392 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
1c7ef2d48f Add option to add user script
Useful for packagers like pacman and vcpkg to add custom cmake logic
instead of patching code.
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
Sandy Carter
9c1607365f fix list syntax v1.118.8398-377 2023-01-14 18:57:19 -05:00
Sandy Carter
576c2b9694 bx: Add bx.test and bx.bench v1.118.8398-376 2023-01-13 09:12:03 -05:00
Sandy Carter
99537daccd bx: Add bin2c and cmake macro 2023-01-13 09:12:03 -05:00
Sandy Carter
e9b0bb3b6c bx: Restructure bx.cmake to be more like bx.lua 2023-01-13 09:12:03 -05:00
Sandy Carter
d50eec41c1 config: Factor out crosscompile tool search
Add search for shaderc, texturec, texturev and geometryv
2023-01-13 09:12:03 -05:00
Sandy Carter
34d0f372b1 bx: Move bx config to its own directory 2023-01-13 09:12:03 -05:00
Sandy Carter
87180e3b7e gitignore: Add common project metafiles 2023-01-13 09:12:03 -05:00
Sandy Carter
ef8234966e Fix warnings related to CMP0054
The LINUX variable is only available in 3.25+
v1.118.8398-370
2023-01-07 22:08:47 -05:00
Sandy Carter
c85f396456 fix formatting for all cmake files v1.118.8398-369 2023-01-07 09:54:59 -05:00
Sandy Carter
c9e4e20b02 fix format action syntax v1.118.8398-368 2023-01-07 09:27:39 -05:00
Sandy Carter
471da90712 Add cmake-format config
Improve formatting.
Use Tabs.
Make copyright one whole comment block.
Remove spaces inside of functions and after if.
Remove excessive whitespace.
Add github action to validate formatting.
v1.118.8398-367
2023-01-07 09:25:21 -05:00
Sandy Carter
c53792d472 Fix the shader compile cmake utility to use the new profiles v1.118.8398-366 2023-01-04 18:22:27 -05:00
dependabot[bot]
ac2c644f44 build(deps): bump bgfx from 66de825 to 5f435ea
Bumps [bgfx](https://github.com/bkaradzic/bgfx) from `66de825` to `5f435ea`.
- [Release notes](https://github.com/bkaradzic/bgfx/releases)
- [Commits](66de825e6f...5f435ea56b)

---
updated-dependencies:
- dependency-name: bgfx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
v1.118.8398-365
2023-01-03 21:09:33 -05:00
dependabot[bot]
4ea31fd36f build(deps): bump bimg from 85109d7 to 1af9054
Bumps [bimg](https://github.com/bkaradzic/bimg) from `85109d7` to `1af9054`.
- [Release notes](https://github.com/bkaradzic/bimg/releases)
- [Commits](85109d7cdb...1af90543ca)

---
updated-dependencies:
- dependency-name: bimg
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
v1.118.8384-364
2023-01-03 21:09:18 -05:00
Sandy Carter
4ea7d23eb2 3rdparty: prefix bgfx- to lib names to avoid conflicts v1.118.8384-363 2023-01-03 21:09:01 -05:00
Sandy
03ae29e5bd Update README.md v1.118.8384-362 2022-12-03 13:59:33 -05:00
Sandy Carter
cfc015871f Properly export when making shared library
Fixes using a dll in windows
v1.118.8384-361
2022-12-03 13:59:15 -05:00
Sandy Carter
54aaa9103d Add BGFX_CONFIG_DEBUG_ANNOTATION option
Disable for WindowsStore (UWP)
2022-12-03 13:59:05 -05:00
Sandy
2d7b0296f6 Use commit count for tag
In the case where the cmake package has been updated but bgfx submodules
haven't it is more informative to have the commit count than the sha.
v1.118.8384-359
2022-12-03 13:58:25 -05:00
dependabot[bot]
a59e0a63ae build(deps): bump bx from 20efa22 to aed1086
Bumps [bx](https://github.com/bkaradzic/bx) from `20efa22` to `aed1086`.
- [Release notes](https://github.com/bkaradzic/bx/releases)
- [Commits](20efa22f18...aed1086c48)

---
updated-dependencies:
- dependency-name: bx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
v1.118.8384-a59e0a6
2022-12-02 17:35:52 -05:00
dependabot[bot]
671c819e85 build(deps): bump bgfx from 6a03a1e to 66de825
Bumps [bgfx](https://github.com/bkaradzic/bgfx) from `6a03a1e` to `66de825`.
- [Release notes](https://github.com/bkaradzic/bgfx/releases)
- [Commits](6a03a1ec5e...66de825e6f)

---
updated-dependencies:
- dependency-name: bgfx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
v1.118.8384-671c819
2022-12-02 17:35:46 -05:00
dependabot[bot]
c825dcf256 build(deps): bump bimg from 225dad7 to 85109d7
Bumps [bimg](https://github.com/bkaradzic/bimg) from `225dad7` to `85109d7`.
- [Release notes](https://github.com/bkaradzic/bimg/releases)
- [Commits](225dad7441...85109d7cdb)

---
updated-dependencies:
- dependency-name: bimg
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
v1.118.8371-c825dcf
2022-12-02 17:35:38 -05:00
loanselot
916f26e1b6 Merge pull request #160 from Hyreos/patch-1
Prevent the script from trying to install tools that have been disabled
v1.118.8371-916f26e
2022-11-28 16:18:22 +03:00
Hyreos
4e42ae2ae0 Prevent the script from trying to install tools that have been disabled
This commit fixes the issue of install failing if you disable any of the tools due to missing targets.
2022-11-20 17:23:21 -03:00
Johannes Schäufele
52feec47f5 bgfx: Add bgfx limits config options v1.118.8371-52feec4 2022-11-04 17:30:48 -04:00
loanselot
cf77d7c6d7 Merge pull request #159 from bkaradzic/dependabot/submodules/bgfx-6a03a1e
build(deps): bump bgfx from `f6a1289` to `6a03a1e`
v1.118.8371-cf77d7c
2022-11-02 00:48:54 +03:00