8c3ac0251686f6828175dd5300eeb3d2ec2ca4d5
[lldb.git] / parallel-libs / streamexecutor / lib / CMakeLists.txt
1 add_library(
2     utils
3     OBJECT
4     Utils/Error.cpp)
5
6 add_library(
7     streamexecutor
8     $<TARGET_OBJECTS:utils>
9     Device.cpp
10     DeviceMemory.cpp
11     Kernel.cpp
12     KernelSpec.cpp
13     PackedKernelArgumentArray.cpp
14     Platform.cpp
15     PlatformDevice.cpp
16     PlatformManager.cpp
17     Stream.cpp)
18 target_link_libraries(streamexecutor ${llvm_libs})
19
20 install(TARGETS streamexecutor DESTINATION lib)
21
22 if(STREAM_EXECUTOR_UNIT_TESTS)
23     add_subdirectory(unittests)
24 endif()