SPIRV-Tools/source/opt/CMakeLists.txt
qining 60461428f4 Separate pass.h from passes.h
Future pass implementations should only need to include pass.h
2016-08-09 17:16:52 -04:00

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}
)