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(ExecutionEngine)
|
|
|
|
add_subdirectory(Bitcode)
|
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)
|
2013-01-07 23:35:46 +08:00
|
|
|
add_subdirectory(IR)
|
2013-04-17 16:29:02 +08:00
|
|
|
add_subdirectory(DebugInfo)
|