[StreamExecutor] Make SE work with an in-tree LLVM build.
[lldb.git] / parallel-libs / streamexecutor / lib / CMakeLists.txt
1 macro(add_se_library name)
2   add_llvm_library(${name} ${ARGN})
3   set_target_properties(${name} PROPERTIES FOLDER "streamexecutor libraries")
4 endmacro(add_se_library)
5
6 add_subdirectory(Utils)
7
8 add_se_library(
9     streamexecutor
10     Device.cpp
11     DeviceMemory.cpp
12     Kernel.cpp
13     KernelSpec.cpp
14     PackedKernelArgumentArray.cpp
15     Platform.cpp
16     PlatformDevice.cpp
17     PlatformManager.cpp
18     Stream.cpp
19
20     LINK_LIBS
21       utils
22     )
23
24 install(TARGETS streamexecutor DESTINATION lib)