Commit Graph

311 Commits

Author SHA1 Message Date
e-erdal
4f43ba6fad Merge pull request #7 from e-erdal/master
Remove OVR
2021-05-08 14:17:30 +03:00
loanselot1
59c3af9180 Fix syntax error at ci.yml 2021-05-08 13:42:30 +03: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
e-erdal
e4333b5f36 Merge pull request #5 from e-erdal/master
Fix syntax error at CI
2021-05-02 15:52:17 +03:00
loanselot1
653c9b1621 Fix syntax error at CI 2021-05-01 21:50:24 +03:00
loanselot
c26667f6f2 Merge pull request #1 from bkaradzic/master
Update fork
2021-05-01 21:47:27 +03:00
loanselot
a9110e3709 Rename COPYING to LICENSE 2021-05-01 21:45:28 +03:00
loanselot
44aba91a57 Merge pull request #4 from e-erdal/master
Make fork even with submodules
2021-05-01 16:36:26 +03:00
loanselot1
99ce23f647 Change badge URL in README.md 2021-05-01 15:49:31 +03:00
loanselot1
22e608c5e0 Change CI 2021-05-01 15:42:31 +03:00
loanselot1
77caaa2738 Change travis-ci domain 2021-04-29 23:43:55 +03:00
loanselot1
b856a1bd41 Update build files 2021-04-29 23:42:29 +03:00
loanselot1
871d052087 Update submodules 2021-04-29 23:41:06 +03:00
Бранимир Караџић
051265e6cb Merge pull request #3 from bkaradzic/bwrsandman-patch-1
Update README.md
2021-04-29 11:12:57 -07:00
Бранимир Караџић
6c15eda963 Merge pull request #2 from bwrsandman/docs
Docs and licences install dir
2021-04-29 11:12:33 -07: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
2bd5c200d4 install: if generating shared, only install bgfx 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
Sandy Carter
970c3d0064 cmake: turn on CMAKE_POSITION_INDEPENDENT_CODE for shared
This prevents an error while linking libbx.a into libbgfx.so on linux
2021-04-29 14:10:05 -04:00
Sandy Carter
071297ccc1 Remove Todo section 2021-04-29 14:06:48 -04:00
Sandy
3ba2b898ff Update README.md
Fix links pointing to `widberg` fork.
Apply preformated where needed.
2021-04-29 13:57:38 -04:00
Sandy Carter
7ed9623d5d install: remove README from installed docs
bgfx.cmake's README is not documentation on how to use bgfx.
It is documentation on how to use bgfx.cmake to build, which is already
done once it's installed.
2021-01-30 20:23:24 -05:00
Sandy Carter
18e1ad78d6 install: put license in /usr/share/licences/bgfx 2021-01-30 20:21:55 -05: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