mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2025-01-05 22:41:07 +00:00
60461428f4
Future pass implementations should only need to include pass.h
28 lines
474 B
CMake
28 lines
474 B
CMake
add_library(SPIRV-Tools-opt
|
|
basic_block.h
|
|
def_use_manager.h
|
|
function.h
|
|
instruction.h
|
|
ir_loader.h
|
|
libspirv.hpp
|
|
module.h
|
|
reflect.h
|
|
pass.h
|
|
passes.h
|
|
pass_manager.h
|
|
|
|
def_use_manager.cpp
|
|
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}
|
|
)
|