Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/engine/shadercompiler/CMakeLists.txt
Joshua Goins e1c688bea7 Completely overhaul shader generation, again
Now it's even simpler, and it now generates multiple
shader languages at once! The copying mechanism is now
much simpler on non-mac platforms as well. HLSL is also now a supported shader target language.
2022-02-21 18:07:22 -05:00

22 lines
468 B
CMake
Executable file

set(SRC
include/shadercompiler.hpp
src/shadercompiler.cpp
src/includer.hpp
src/defaultresources.hpp)
add_library(ShaderCompiler STATIC ${SRC})
target_link_libraries(ShaderCompiler
PUBLIC
Platform
PRIVATE
Utility
Log
spirv-cross-core
spirv-cross-glsl
spirv-cross-msl
spirv-cross-hlsl
glslang
SPIRV)
target_include_directories(ShaderCompiler PUBLIC include PRIVATE src)
set_engine_properties(ShaderCompiler)