Added ShaderConductor

This commit is contained in:
Light 2021-09-12 16:56:33 +04:30
parent 5ffa8cfabf
commit 35663cd3c4
3 changed files with 8 additions and 0 deletions

3
.gitmodules vendored
View file

@ -13,3 +13,6 @@
[submodule "Dependencies/entt"]
path = Dependencies/entt
url = https://github.com/skypjack/entt
[submodule "Dependencies/ShaderConductor"]
path = Dependencies/ShaderConductor
url = https://github.com/microsoft/shaderconductor

View file

@ -1,7 +1,10 @@
cmake_minimum_required(VERSION 3.21.2)
project(Light VERSION 1.0.0)
add_subdirectory(Dependencies/ShaderConductor)
set(CMAKE_CXX_STANDARD 17)
# target_compile_features(Light PUBLIC cxx_std_17)
# set_property(TARGET Light CXX_STANDARD 17)
@ -32,6 +35,7 @@ target_link_libraries(Engine glfw)
target_link_libraries(Engine spdlog)
target_link_libraries(Engine imgui)
target_link_libraries(Engine stb_image)
target_link_libraries(Engine ShaderConductor)
target_link_libraries(imgui glad)
target_link_libraries(imgui glfw)

1
Dependencies/ShaderConductor vendored Submodule

@ -0,0 +1 @@
Subproject commit 30a77c78d24fa08f4fe5fc4428f10dbfc92717a6