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/renderer/CMakeLists.txt
redstrate 87f15b2007 Completely redo the CMake shader compilation system
* Now shader recompilation happens only when it needs to. Hurray for faster compiles!
* Changes to constructors for ShaderSource to make it more explicit.
* The version of SPIRV-Cross is updated, and now the glslang version pulled correctly matches what SPIRV-Cross needs. This fixes the annoying "cannot parse built-ins" bug.
2021-05-09 19:10:23 -04:00

38 lines
No EOL
780 B
CMake
Executable file

set(SRC
include/renderer.hpp
include/font.hpp
include/pass.hpp
include/shadowpass.hpp
include/imguipass.hpp
include/smaapass.hpp
include/scenecapture.hpp
include/materialcompiler.hpp
include/dofpass.hpp
include/frustum.hpp
include/render_options.hpp
include/rendertarget.hpp
src/renderer.cpp
src/shadowpass.cpp
src/imguipass.cpp
src/smaapass.cpp
src/scenecapture.cpp
src/materialcompiler.cpp
src/dofpass.cpp
src/frustum.cpp)
add_library(Renderer STATIC ${SRC})
target_link_libraries(Renderer
PUBLIC
GFX
Math
PRIVATE
stb
Math
Utility
imgui
SMAA::SMAA
ShaderCompiler
Core)
target_include_directories(Renderer PUBLIC include)
set_engine_properties(Renderer)