Tom Hulton-Harrop
163661a07e
update to have bgfx.cmake work with emscripten
2022-03-21 20:52:06 -04:00
loanselot
3168a4660e
Merge pull request #103 from Ravbug/bx_debug_fix
...
BX_CONFIG_DEBUG via generator expression
2022-02-03 13:05:49 +03:00
Ravbug
b5879646bb
Incorporate MrRobust's suggestion
2022-02-02 16:30:21 -05:00
loanselot
b44793b740
Merge pull request #114 from recisio/cmake_include_paths
...
CMake more precise includes path
2022-01-31 21:26:30 +03:00
e-erdal
9f3943b829
Link IOKit + CoreFoundation
2022-01-31 19:38:44 +03:00
e-erdal
f81d8ee146
Add IOKit for Metal backend
2022-01-31 19:16:08 +03:00
alexandrebeaudet
72bc1cf167
CMake more precise includes path (in order to use some functions externally)
2022-01-07 10:57:18 +01:00
Sandy Carter
7e7a6795a1
Use string compare for library type
2021-12-23 13:52:18 -05:00
Ravbug
93c9e73a42
Add checked & profile
2021-12-19 12:12:00 -08:00
Ravbug
0f1a5a91e6
Change BGFX_CONFIG_DEBUG to generator expression
2021-12-19 11:44:52 -08:00
Sandy Carter
a01e8e043f
bgfx: Add debug config required in bx headers since bx is private
2021-10-30 10:14:58 -04:00
e-erdal
d3260f172c
Add definition for BX_CONFIG_DEBUG
2021-10-28 11:06:14 +03:00
e-erdal
0133fc5cca
Remove bounds
2021-10-23 06:39:13 +03:00
e-erdal
7f96ef20a7
Add example "fsr"
2021-10-18 10:26:07 +03:00
loanselot
7135af7412
Merge pull request #17 from mattparks/patch-2
...
Fix tools/geometryc iOS bundle gui identifier.
2021-08-06 00:28:41 +03:00
e-erdal
cf0d70f7d5
Add tinyexr to build files
2021-07-20 20:15:03 +03:00
Matthew Albrecht
d95a560b00
Fix tools/geometryc iOS bundle gui identifier.
2021-06-24 03:31:02 +01:00
Matthew Albrecht
9ae143b350
Use BGFX_DIR relative path when reading version.
2021-06-22 02:29:33 +01:00
loanselot1
305a4a3fa2
Remove OVR
2021-05-08 13:34:10 +03:00
Robin
6ab70b57cc
Clean up code.
2021-05-07 16:52:47 -04:00
Robin A. P
c4f51387f0
Fix clang on WIN32 without MSVC
2021-05-07 16:52:47 -04:00
loanselot1
b856a1bd41
Update build files
2021-04-29 23:42:29 +03:00
Sandy Carter
f8f30ca887
bgfx: make bx and bimg private
...
This makes it so in shared mode, bx and bimg static libs aren't installed
2021-04-29 14:10:05 -04:00
Sandy Carter
1d3e7dd84f
bimg: specify visibility of linked libs
2021-04-29 14:10:05 -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
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
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
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
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