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)
|
|
|
|
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)
|
2013-10-17 02:26:16 +08:00
|
|
|
add_subdirectory(MC)
|
2013-09-04 04:51:14 +08:00
|
|
|
add_subdirectory(Object)
|
2012-12-05 08:29:32 +08:00
|
|
|
add_subdirectory(Option)
|
2012-06-21 17:51:26 +08:00
|
|
|
add_subdirectory(Support)
|
|
|
|
add_subdirectory(Transforms)
|