mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
30 lines
812 B
CMake
30 lines
812 B
CMake
add_library(reshadefx
|
|
include/effect_codegen.hpp
|
|
include/effect_expression.hpp
|
|
include/effect_lexer.hpp
|
|
include/effect_module.hpp
|
|
include/effect_parser.hpp
|
|
include/effect_preprocessor.hpp
|
|
include/effect_symbol_table.hpp
|
|
include/effect_token.hpp
|
|
src/effect_codegen_glsl.cpp
|
|
src/effect_codegen_hlsl.cpp
|
|
src/effect_codegen_spirv.cpp
|
|
src/effect_expression.cpp
|
|
src/effect_lexer.cpp
|
|
src/effect_parser_exp.cpp
|
|
src/effect_parser_stmt.cpp
|
|
src/effect_preprocessor.cpp
|
|
src/effect_symbol_table.cpp
|
|
)
|
|
|
|
target_include_directories(reshadefx PRIVATE
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/include"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/src"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/../spirv-cross/include/spirv-cross" # SPIR-V
|
|
)
|
|
target_include_directories(reshadefx INTERFACE
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/include"
|
|
)
|
|
|