Commit Graph

276 Commits

Author SHA1 Message Date
Matt Stevens
d608a1d935 Generate CMake package config files on INSTALL (#82) 2020-05-10 22:24:09 -04:00
Paul Gruenbacher
99c6ca5e2e spirv-cross.cmake webgpu support (#83) 2020-05-10 22:23:08 -04:00
Tom Hulton-Harrop
4f650b6bba update bx.cmake to include platform specific headers in target install include paths (#76) 2020-05-09 20:24:22 -04:00
widberg
533a39f02e Updated README.md 2020-05-06 11:36:46 -04:00
pezcode
4264cca1f6 Set OpenGL (ES) minimum version without force-disabling other renderers (#74) 2020-05-04 00:04:03 -04:00
Krzysztof Lis / Adynathos
037cef04a7 set cmake policy 0072 to prevent deprecation warning (#65) 2020-04-28 18:06:04 -04:00
DarkContact
9021a19cf8 Add geometryv tool (#67) 2020-04-28 18:00:52 -04:00
Maiko Steeman
195832abc5 Fixed that only 1 include was used by shaderc (#66) 2020-04-28 17:47:16 -04:00
Alexandre
c961ce6e8b Update submodules (#73) 2020-04-28 17:43:24 -04:00
pezcode
b54594715f Update bgfx, bimg, bx (#70) 2020-04-02 10:43:00 -04:00
Jonny Paton
d794f9431e Fix compiler flags for mixing objective/c++ in xcode (#68) 2020-01-30 11:20:32 -05:00
Sandy
83f791ee15 include: Put BUILD_INTERFACE entries one per line (#62)
This fixes an error when adding subdirectory:
```
CMake Error in _deps/bgfx-src/CMakeLists.txt:
  Target "astc-codec" INTERFACE_INCLUDE_DIRECTORIES property contains path:

    "_deps/bgfx-src/"

  which is prefixed in the build directory.Target "astc-codec"
  INTERFACE_INCLUDE_DIRECTORIES property contains path:

    "_deps/bgfx-src/"

  which is prefixed in the source directory.
```
2019-09-27 12:13:12 -04:00
Brandon DeRosier
2539947609 Use configure_file instead of file WRITE to write generated files. (#61) 2019-09-24 09:00:12 -04:00
Sandy
f23cf9bf17 Add EXPORT to install targets (#59)
Add `EXPORT bgfx-config` with `bgfx::` namespace to auto generate a
`bgfx-config.cmake` file at install time (INSTALL on `visual studio` or `make
install` on MakeFile projects).
The file is for use with `find_package` and installs itself in the
lib directory under `cmake/bgfx/bgfx-config.cmake`.
If installed on a linux system, `find_package` will find this config
file without any configuration.
This config file allows dependent projects to use commands such as
linking with bgfx:
```
find_package(bgfx REQUIRED COMPONENTS bgfx)
target_link_libraries(dependent PUBLIC bgfx::bgfx)
```
or compiling a shader at build time:
```
find_package(bgfx REQUIRED COMPONENTS shaderc)
add_custom_command(OUTPUT compiled_shader.glsl
                   COMMAND
                       bgfx::shaderc
                       -f vs_input_shader.sc
                       -o compiled_shader.glsl
                       --type vertex)
```
2019-09-09 09:33:09 -04:00
Jonny Paton
1764d06e0d Android support and CI (#58) 2019-08-31 15:52:09 -04:00
Jonny Paton
73e55706d9 Use built-in cmake support for building iOS (#57)
* Update iOS build to include examples and use simulator, along with new cmake iOS support
2019-08-30 10:32:19 -04:00
Alexander Knorre
9fc86b605e Update subrepos (#56) 2019-08-30 10:27:30 -04:00
Andy Duplain
018bbc4e9f Fix meshoptimizer.cmake. 2019-06-12 01:15:23 -05:00
Andy Duplain
94cdce8ce3 Update to latest bgdx and bx.
Update submodules.
Drop ib-compress and forsyth-too 3rdparty libraries.
Add meshoptimizer to geometryc.
2019-06-12 01:15:23 -05:00
Robert D. Blanchet Jr
fd39192e0e Make metal profile is set. 2019-04-24 21:33:26 -05:00
Robert D. Blanchet Jr
49836b080e Fix syntax errors. 2019-04-24 21:33:26 -05:00
Robert D. Blanchet Jr
aeda0f7c67 Fixed fcpp overflow error 2019-04-24 21:33:26 -05:00
Robert D. Blanchet Jr
e5f453dd73 Support compilation of compute shaders. 2019-04-24 21:33:26 -05:00
Robert D. Blanchet Jr
4a54c2b1ed Disable deferred example 2019-04-24 21:33:26 -05:00
Robert D. Blanchet Jr
b9a87bf9d3 Formatting. 2019-04-24 21:33:26 -05:00
Robert D. Blanchet Jr
ffbe1dff0b Add spirv-tools and spirv-cross 2019-04-24 21:33:26 -05:00
Robert D. Blanchet Jr
834ec251e7 More build fixes. 2019-04-24 21:33:26 -05:00
Robert D. Blanchet Jr
c3f52fd76e Fix missing -ObjC flag. 2019-04-24 21:33:26 -05:00
Robert D. Blanchet Jr
8eb363a378 Updating submodules 2019-04-24 21:33:26 -05:00
Jonny
22805562b0 Updates for emscripten, along with travis builds 2019-02-28 13:01:32 -06:00
Joshua Brookover
95cb070eb2 Don't build tools and examples on iOS travis 2019-01-24 12:04:49 -06:00
Joshua Brookover
30a8cc3935 Disable problem examples for now 2019-01-24 10:37:22 -06:00
Julien Hamaide
aeff603539 Option to specify minimum opengl version at compile time 2019-01-24 10:18:06 -06:00
Brandon Hamm
89bb89d400 updating bgfx examples 2019-01-15 11:50:47 -06:00
Brandon Hamm
5f1bffd005 Updating submodules 2019-01-15 11:50:47 -06:00
=
1fd0168961 Add missing OpenGL dependency to travis setup 2019-01-12 22:49:27 -06:00
=
b30ae7b4cd Add windows to travis and refine builds 2019-01-12 22:49:27 -06:00
Jonny
eb5bf5bf64 Add iOS support 2019-01-12 22:47:42 -06:00
Mathieu-Andre Chiasson
4cf4edff09 added Spir-V shader generator support
Vulkan support is coming...
2019-01-08 11:55:43 -06:00
Mathieu-Andre Chiasson
c5e68e3bbd renamed gles to essl to match shader runtime layout 2019-01-03 13:03:02 -06:00
ProWolf
32365cacb0 Update bgfx, bimg, bx 2018-12-19 17:25:16 -06:00
Matt Chiasson
2e3eace2e4 Update pvrtc.cmake 2018-12-11 16:59:40 -06:00
tjysdsg
8f729e775d update submodules 2018-11-24 15:01:08 -06:00
tjysdsg
9a44462a6f fix issue #31: The body of constexpr function not a return-statement 2018-11-24 15:01:08 -06:00
Alex Fuller
49ec02e8a3 Update bgfx, bimg, bx 2018-09-02 19:52:36 -07:00
Mischa Aster Alff
78799a6865 Add build output files to .gitignore 2018-08-20 10:51:50 -05:00
Mischa Aster Alff
5032a16aa8 Fix build errors when supplying relative paths to BX_DIR, BIMG_DIR and BGFX_DIR 2018-08-20 10:38:49 -05:00
Mischa Aster Alff
168a1fd848 Update to latest versions of bx, bimg and bgfx 2018-08-20 10:20:36 -05:00
Francis Hart
9e660ee65e Add build option to turn off 'd' suffix for debug build targets 2018-08-16 12:06:53 -05:00
Léo Willian Kölln
85cc3d9716 Added support for SDL and GLFW 2018-08-04 17:28:47 -05:00