2020-12-28 16:15:37 +01:00
|
|
|
add_library(sirit
|
|
|
|
../include/sirit/sirit.h
|
|
|
|
sirit.cpp
|
|
|
|
stream.h
|
|
|
|
common_types.h
|
|
|
|
instructions/type.cpp
|
|
|
|
instructions/constant.cpp
|
|
|
|
instructions/function.cpp
|
|
|
|
instructions/flow.cpp
|
|
|
|
instructions/debug.cpp
|
2021-07-09 23:54:15 +02:00
|
|
|
instructions/derivatives.cpp
|
2020-12-28 16:15:37 +01:00
|
|
|
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
|
|
|
|
instructions/group.cpp
|
|
|
|
instructions/barrier.cpp
|
|
|
|
instructions/atomic.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_compile_options(sirit PRIVATE ${SIRIT_CXX_FLAGS})
|
|
|
|
|
|
|
|
target_include_directories(sirit
|
|
|
|
PUBLIC ../include
|
2022-05-17 10:14:37 +02:00
|
|
|
PRIVATE .)
|
|
|
|
|
|
|
|
target_link_libraries(sirit PUBLIC SPIRV-Headers::SPIRV-Headers)
|