mirror of
https://github.com/bkaradzic/bgfx.cmake.git
synced 2026-02-17 13:02:33 +01:00
23 lines
836 B
CMake
23 lines
836 B
CMake
# bgfx.cmake - bgfx building in cmake
|
|
# Written in 2017 by Joshua Brookover <joshua.al.brookover@gmail.com>
|
|
#
|
|
# To the extent possible under law, the author(s) have dedicated all copyright
|
|
# and related and neighboring rights to this software to the public domain
|
|
# worldwide. This software is distributed without any warranty.
|
|
#
|
|
# You should have received a copy of the CC0 Public Domain Dedication along with
|
|
# this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
|
|
|
|
if(BGFX_BUILD_TOOLS_SHADER)
|
|
include(${CMAKE_CURRENT_LIST_DIR}/tools/shaderc.cmake)
|
|
endif()
|
|
|
|
if(BGFX_BUILD_TOOLS_GEOMETRY)
|
|
include(${CMAKE_CURRENT_LIST_DIR}/tools/geometryc.cmake)
|
|
include(${CMAKE_CURRENT_LIST_DIR}/tools/geometryv.cmake)
|
|
endif()
|
|
|
|
if(BGFX_BUILD_TOOLS_TEXTURE)
|
|
include(${CMAKE_CURRENT_LIST_DIR}/tools/texturev.cmake)
|
|
endif()
|