mirror of
https://gitee.com/openharmony/third_party_spirv-tools
synced 2024-11-24 07:49:46 +00:00
25 lines
423 B
CMake
25 lines
423 B
CMake
add_library(SPIRV-Tools-opt
|
|
basic_block.h
|
|
function.h
|
|
instruction.h
|
|
ir_loader.h
|
|
libspirv.hpp
|
|
module.h
|
|
reflect.h
|
|
passes.h
|
|
pass_manager.h
|
|
|
|
function.cpp
|
|
instruction.cpp
|
|
ir_loader.cpp
|
|
libspirv.cpp
|
|
module.cpp
|
|
passes.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}
|
|
)
|