2018-08-23 08:59:57 +01:00
|
|
|
add_library(sirit
|
2018-08-26 00:16:37 +01:00
|
|
|
../include/sirit/sirit.h
|
2018-08-23 08:59:57 +01:00
|
|
|
sirit.cpp
|
2018-10-23 08:45:56 +01:00
|
|
|
op.cpp
|
|
|
|
op.h
|
2018-08-26 00:16:37 +01:00
|
|
|
stream.cpp
|
|
|
|
stream.h
|
|
|
|
operand.cpp
|
|
|
|
operand.h
|
2018-11-01 00:22:00 +00:00
|
|
|
literal_number.cpp
|
|
|
|
literal_number.h
|
|
|
|
literal_string.cpp
|
|
|
|
literal_string.h
|
2018-10-23 08:45:56 +01:00
|
|
|
common_types.h
|
2018-11-16 07:15:26 +00:00
|
|
|
instructions/type.cpp
|
|
|
|
instructions/constant.cpp
|
|
|
|
instructions/function.cpp
|
|
|
|
instructions/flow.cpp
|
|
|
|
instructions/debug.cpp
|
|
|
|
instructions/memory.cpp
|
|
|
|
instructions/annotation.cpp
|
|
|
|
instructions/misc.cpp
|
|
|
|
instructions/logical.cpp
|
|
|
|
instructions/conversion.cpp
|
|
|
|
instructions/bit.cpp
|
|
|
|
instructions/arithmetic.cpp
|
|
|
|
instructions/extension.cpp
|
|
|
|
instructions/image.cpp
|
2018-08-23 08:59:57 +01:00
|
|
|
)
|
2019-03-14 21:34:28 +00:00
|
|
|
|
|
|
|
target_compile_options(sirit PRIVATE ${SIRIT_CXX_FLAGS})
|
|
|
|
|
2018-08-23 08:59:57 +01:00
|
|
|
target_include_directories(sirit
|
2018-08-26 00:16:37 +01:00
|
|
|
PUBLIC ../include
|
|
|
|
PRIVATE . ${SPIRV-Headers_SOURCE_DIR}/include
|
|
|
|
INTERFACE ${SPIRV-Headers_SOURCE_DIR}/include)
|