third_party_spirv-tools/source/opt/CMakeLists.txt

20 lines
352 B
CMake

add_library(SPIRV-Tools-opt
basic_block.h
function.h
instruction.h
ir_loader.h
module.h
reflect.h
function.cpp
instruction.cpp
ir_loader.cpp
module.cpp
)
spvtools_default_compile_options(SPIRV-Tools-opt)
target_include_directories(SPIRV-Tools-opt
PRIVATE ${spirv-tools_SOURCE_DIR}/include
PUBLIC ${SPIRV_HEADER_INCLUDE_DIR}
)