mirror of
https://gitee.com/openharmony/third_party_spirv-tools
synced 2024-11-24 07:49:46 +00:00
20 lines
352 B
CMake
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}
|
|
)
|