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