[NVPTX] kernel pointer arguments point to the global address space
[oota-llvm.git] / unittests / CMakeLists.txt
1 add_custom_target(UnitTests)
2 set_target_properties(UnitTests PROPERTIES FOLDER "Tests")
3
4 if (APPLE)
5   set(CMAKE_INSTALL_RPATH "@executable_path/../../lib")
6 else(UNIX)
7   set(CMAKE_INSTALL_RPATH "\$ORIGIN/../../lib${LLVM_LIBDIR_SUFFIX}")
8 endif()
9
10 function(add_llvm_unittest test_dirname)
11   add_unittest(UnitTests ${test_dirname} ${ARGN})
12 endfunction()
13
14 add_subdirectory(ADT)
15 add_subdirectory(Analysis)
16 add_subdirectory(AsmParser)
17 add_subdirectory(Bitcode)
18 add_subdirectory(CodeGen)
19 add_subdirectory(DebugInfo)
20 add_subdirectory(ExecutionEngine)
21 add_subdirectory(IR)
22 add_subdirectory(LineEditor)
23 add_subdirectory(Linker)
24 add_subdirectory(MC)
25 add_subdirectory(Option)
26 add_subdirectory(ProfileData)
27 add_subdirectory(Support)
28 add_subdirectory(Transforms)