CMakeLists.txt (829B)
1 add_library(reshadefx 2 include/effect_codegen.hpp 3 include/effect_expression.hpp 4 include/effect_lexer.hpp 5 include/effect_module.hpp 6 include/effect_parser.hpp 7 include/effect_preprocessor.hpp 8 include/effect_symbol_table.hpp 9 include/effect_token.hpp 10 src/effect_codegen_glsl.cpp 11 src/effect_codegen_hlsl.cpp 12 src/effect_codegen_spirv.cpp 13 src/effect_expression.cpp 14 src/effect_lexer.cpp 15 src/effect_parser_exp.cpp 16 src/effect_parser_stmt.cpp 17 src/effect_preprocessor.cpp 18 src/effect_symbol_table.cpp 19 ) 20 21 target_include_directories(reshadefx PRIVATE 22 "${CMAKE_CURRENT_SOURCE_DIR}/include" 23 "${CMAKE_CURRENT_SOURCE_DIR}/src" 24 ) 25 target_include_directories(reshadefx INTERFACE 26 "${CMAKE_CURRENT_SOURCE_DIR}/include" 27 ) 28 29 # reshadefx is not C++20-compatible. 30 set_property(TARGET reshadefx PROPERTY CXX_STANDARD 17)