1 add_custom_target(UnitTests)
2 set_target_properties(UnitTests PROPERTIES FOLDER "Tests")
5 set(CMAKE_INSTALL_RPATH "@executable_path/../../lib")
7 set(CMAKE_INSTALL_RPATH "\$ORIGIN/../../lib${LLVM_LIBDIR_SUFFIX}")
10 function(add_llvm_unittest test_dirname)
11 add_unittest(UnitTests ${test_dirname} ${ARGN})
15 add_subdirectory(Analysis)
16 add_subdirectory(AsmParser)
17 add_subdirectory(Bitcode)
18 add_subdirectory(CodeGen)
19 add_subdirectory(DebugInfo)
20 add_subdirectory(ExecutionEngine)
22 add_subdirectory(LineEditor)
23 add_subdirectory(Linker)
25 add_subdirectory(Option)
26 add_subdirectory(ProfileData)
27 add_subdirectory(Support)
28 add_subdirectory(Transforms)