Commit Graph

137 Commits

Author SHA1 Message Date
Sandy
3ba2b898ff Update README.md
Fix links pointing to `widberg` fork.
Apply preformated where needed.
2021-04-29 13:57:38 -04:00
yaz0r
66f18daf5c Update bgfx and build fix (#93)
* Bump bgfx

* Fix glslang build

* Fix project generation for tvOS
2020-11-09 01:58:03 -05:00
Sandy
22ffa2e003 Add option to build bgfx as shared lib (#79)
Closes #21
2020-06-11 06:19:41 -04:00
Matt Stevens
dbf05e9e9b Fix install readme.md which was changed to README.md (533a39f) (#90) 2020-05-12 11:13:43 -04:00
Sandy
9ff5ad27b1 android: fix ci build (#88) 2020-05-11 22:51:52 -04:00
Sandy
b242db2681 fix using as a fetch content (add external project) for a out of source build (#89) 2020-05-11 11:45:22 -04:00
Sandy
a424f7fecf fix install script when webgpu is not enabled (#87) 2020-05-11 11:43:52 -04:00
Sandy
c0d3224098 travis: disable android and ios builds until they are fixed (#86) 2020-05-11 11:43:04 -04:00
Sandy
6736f26db4 3rd party: Add webgpu cmake file (#84) 2020-05-11 04:08:02 -04:00
Matt Stevens
f4748dcc0a Remove BGFX_USE_DEBUG_SUFFIX, should use CMAKE_DEBUG_POSTFIX. (#81) 2020-05-10 22:38:06 -04:00
Matt Stevens
5af95aa5d5 Set bgfx PROJECT_VERSION from bgfx versioning scheme. (#80) 2020-05-10 22:34:20 -04:00
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