2010-10-28 22:38:35 +08:00
|
|
|
add_custom_target(UnitTests)
|
2011-02-21 06:06:10 +08:00
|
|
|
set_target_properties(UnitTests PROPERTIES FOLDER "Tests")
|
2010-10-28 22:38:35 +08:00
|
|
|
|
2012-06-21 13:16:58 +08:00
|
|
|
function(add_llvm_unittest test_dirname)
|
|
|
|
add_unittest(UnitTests ${test_dirname} ${ARGN})
|
|
|
|
endfunction()
|
2010-12-07 18:22:07 +08:00
|
|
|
|
2012-06-21 17:51:26 +08:00
|
|
|
add_subdirectory(ADT)
|
|
|
|
add_subdirectory(Analysis)
|
2015-05-21 04:41:27 +08:00
|
|
|
add_subdirectory(AsmParser)
|
2012-06-21 17:51:26 +08:00
|
|
|
add_subdirectory(Bitcode)
|
2013-09-04 05:57:57 +08:00
|
|
|
add_subdirectory(CodeGen)
|
2013-09-04 04:51:14 +08:00
|
|
|
add_subdirectory(DebugInfo)
|
|
|
|
add_subdirectory(ExecutionEngine)
|
|
|
|
add_subdirectory(IR)
|
2014-02-01 07:46:14 +08:00
|
|
|
add_subdirectory(LineEditor)
|
2014-04-29 23:52:36 +08:00
|
|
|
add_subdirectory(Linker)
|
2013-10-17 02:26:16 +08:00
|
|
|
add_subdirectory(MC)
|
2016-02-18 15:37:17 +08:00
|
|
|
add_subdirectory(MI)
|
2016-11-16 05:07:03 +08:00
|
|
|
add_subdirectory(Object)
|
2016-03-02 03:15:06 +08:00
|
|
|
add_subdirectory(ObjectYAML)
|
2012-12-05 08:29:32 +08:00
|
|
|
add_subdirectory(Option)
|
2015-02-04 08:15:12 +08:00
|
|
|
add_subdirectory(ProfileData)
|
2012-06-21 17:51:26 +08:00
|
|
|
add_subdirectory(Support)
|
2016-10-12 17:00:44 +08:00
|
|
|
add_subdirectory(Target)
|
2012-06-21 17:51:26 +08:00
|
|
|
add_subdirectory(Transforms)
|