• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1add_custom_target(UnitTests)
2set_target_properties(UnitTests PROPERTIES FOLDER "Tests")
3
4if (APPLE)
5  set(CMAKE_INSTALL_RPATH "@executable_path/../../lib")
6else(UNIX)
7  set(CMAKE_INSTALL_RPATH "\$ORIGIN/../../lib${LLVM_LIBDIR_SUFFIX}")
8endif()
9
10function(add_llvm_unittest test_dirname)
11  add_unittest(UnitTests ${test_dirname} ${ARGN})
12endfunction()
13
14add_subdirectory(ADT)
15add_subdirectory(Analysis)
16add_subdirectory(AsmParser)
17add_subdirectory(Bitcode)
18add_subdirectory(CodeGen)
19add_subdirectory(DebugInfo)
20add_subdirectory(ExecutionEngine)
21add_subdirectory(IR)
22add_subdirectory(LineEditor)
23add_subdirectory(Linker)
24add_subdirectory(MC)
25add_subdirectory(MI)
26add_subdirectory(ObjectYAML)
27add_subdirectory(Option)
28add_subdirectory(ProfileData)
29add_subdirectory(Support)
30add_subdirectory(Transforms)
31