Update subrepos (#56)

This commit is contained in:
Alexander Knorre
2019-08-30 17:27:30 +03:00
committed by ProWolf
parent 018bbc4e9f
commit 9fc86b605e
5 changed files with 6 additions and 5 deletions

2
.gitignore vendored
View File

@@ -1,4 +1,4 @@
build/
[Bb]uild/
*.swp
CMakeCache.txt
CMakeFiles/

2
bgfx

Submodule bgfx updated: 4748766009...5e4646fbbc

2
bimg

Submodule bimg updated: f89b12ae25...b34b29fa69

2
bx

Submodule bx updated: 62daee4ffa...2e4bc10d6c

View File

@@ -16,10 +16,11 @@ include( cmake/3rdparty/glslang.cmake )
include( cmake/3rdparty/spirv-cross.cmake )
include( cmake/3rdparty/spirv-tools.cmake )
add_executable( shaderc ${BGFX_DIR}/tools/shaderc/shaderc.cpp ${BGFX_DIR}/tools/shaderc/shaderc.h ${BGFX_DIR}/tools/shaderc/shaderc_glsl.cpp ${BGFX_DIR}/tools/shaderc/shaderc_hlsl.cpp ${BGFX_DIR}/tools/shaderc/shaderc_pssl.cpp ${BGFX_DIR}/tools/shaderc/shaderc_spirv.cpp )
add_executable( shaderc ${BGFX_DIR}/tools/shaderc/shaderc.cpp ${BGFX_DIR}/tools/shaderc/shaderc.h ${BGFX_DIR}/tools/shaderc/shaderc_glsl.cpp ${BGFX_DIR}/tools/shaderc/shaderc_hlsl.cpp ${BGFX_DIR}/tools/shaderc/shaderc_pssl.cpp ${BGFX_DIR}/tools/shaderc/shaderc_spirv.cpp ${BGFX_DIR}/tools/shaderc/shaderc_metal.cpp )
target_compile_definitions( shaderc PRIVATE "-D_CRT_SECURE_NO_WARNINGS" )
set_target_properties( shaderc PROPERTIES FOLDER "bgfx/tools" )
target_link_libraries( shaderc bx bimg bgfx-vertexdecl bgfx-shader-spirv fcpp glsl-optimizer glslang spirv-cross spirv-tools )
if( BGFX_CUSTOM_TARGETS )
add_dependencies( tools shaderc )
endif()