blob: b7f7c278b1847fc011732afcac3442aa92e6fc6f [file] [log] [blame]
add_library(
utils
OBJECT
Utils/Error.cpp)
add_library(
streamexecutor
$<TARGET_OBJECTS:utils>
Kernel.cpp
KernelSpec.cpp
PackedKernelArgumentArray.cpp
PlatformInterfaces.cpp
Stream.cpp
StreamExecutor.cpp)
target_link_libraries(streamexecutor ${llvm_libs})
if(STREAM_EXECUTOR_UNIT_TESTS)
add_subdirectory(unittests)
endif()