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()
|
2018-09-15 01:34:46 +08:00
|
|
|
function(add_llvm_unittest_with_input_files test_dirname)
|
|
|
|
add_unittest_with_input_files(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)
|
2018-05-15 02:23:05 +08:00
|
|
|
add_subdirectory(BinaryFormat)
|
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)
|
2018-04-13 04:41:38 +08:00
|
|
|
add_subdirectory(Demangle)
|
2013-09-04 04:51:14 +08:00
|
|
|
add_subdirectory(ExecutionEngine)
|
2017-08-22 06:57:06 +08:00
|
|
|
add_subdirectory(FuzzMutate)
|
2013-09-04 04:51:14 +08:00
|
|
|
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)
|
2018-10-11 02:43:42 +08:00
|
|
|
add_subdirectory(OptRemarks)
|
2018-04-05 23:04:13 +08:00
|
|
|
add_subdirectory(Passes)
|
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)
|
2017-02-10 14:36:08 +08:00
|
|
|
add_subdirectory(XRay)
|
2017-10-12 04:35:01 +08:00
|
|
|
add_subdirectory(tools)
|