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.
graphite/engine/renderer/CMakeLists.txt

17 lines
747 B
Text
Raw Permalink Normal View History

2024-01-03 16:05:02 -05:00
set(SOURCE_FILES
src/debugpass.cpp
src/deferredpipeline.cpp
src/drawlist.cpp
src/imgui_wrapper.cpp
src/primitives.cpp
src/shadercompiler.cpp
src/shadowpass.cpp
src/skyboxpass.cpp
src/renderer.cpp)
add_library(Renderer ${SOURCE_FILES})
target_link_libraries(Renderer ECS ImGui glslang OGLCompiler SPIRV OSDependent pthread Platform ${Vulkan_LIBRARIES})
include_directories(include)
include_directories(${UTILITY_INCLUDE_DIR} ${CORE_INCLUDE_DIR} ${ASSETS_INCLUDE_DIR} ${ECS_INCLUDE_DIR} ${PLATFORM_INCLUDE_DIR} ${INPUT_INCLUDE_DIR})
include_directories(SYSTEM ${LIBRARY_JSON_INCLUDE_DIR} ${LIBRARY_GLSLANG_INCLUDE_DIR} ${LIBRARY_IMGUI_INCLUDE_DIR} ${LIBRARY_STB_INCLUDE_DIR})