| Oscar Fuentes | b1f9380 | 2010-10-28 14:38:35 +0000 | [diff] [blame] | 1 | add_custom_target(UnitTests) |
| Oscar Fuentes | 3145e92 | 2011-02-20 22:06:10 +0000 | [diff] [blame] | 2 | set_target_properties(UnitTests PROPERTIES FOLDER "Tests") |
| Oscar Fuentes | b1f9380 | 2010-10-28 14:38:35 +0000 | [diff] [blame] | 3 | |
| Chandler Carruth | a5d42f8 | 2012-06-21 05:16:58 +0000 | [diff] [blame] | 4 | function(add_llvm_unittest test_dirname) |
| 5 | add_unittest(UnitTests ${test_dirname} ${ARGN}) |
| 6 | endfunction() |
| Frits van Bommel | 716f34c | 2010-12-07 10:22:07 +0000 | [diff] [blame] | 7 | |
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 8 | add_subdirectory(ADT) |
| 9 | add_subdirectory(Analysis) |
| Alex Lorenz | c627779 | 2015-05-20 20:41:27 +0000 | [diff] [blame] | 10 | add_subdirectory(AsmParser) |
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 11 | add_subdirectory(Bitcode) |
| Eric Christopher | 25b7adc | 2013-09-03 21:57:57 +0000 | [diff] [blame] | 12 | add_subdirectory(CodeGen) |
| Eric Christopher | c2fa3a4 | 2013-09-03 20:51:14 +0000 | [diff] [blame] | 13 | add_subdirectory(DebugInfo) |
| 14 | add_subdirectory(ExecutionEngine) |
| 15 | add_subdirectory(IR) |
| Peter Collingbourne | c7d437c | 2014-01-31 23:46:14 +0000 | [diff] [blame] | 16 | add_subdirectory(LineEditor) |
| NAKAMURA Takumi | 4b8e8e9 | 2014-04-29 15:52:36 +0000 | [diff] [blame] | 17 | add_subdirectory(Linker) |
| Rafael Espindola | bab2afb | 2013-10-16 18:26:16 +0000 | [diff] [blame] | 18 | add_subdirectory(MC) |
| NAKAMURA Takumi | c1857d1 | 2016-02-18 07:37:17 +0000 | [diff] [blame] | 19 | add_subdirectory(MI) |
| Kuba Brecka | a3ccf3d | 2016-11-15 21:07:03 +0000 | [diff] [blame] | 20 | add_subdirectory(Object) |
| Zachary Turner | 264b5d9 | 2017-06-07 03:48:56 +0000 | [diff] [blame] | 21 | add_subdirectory(BinaryFormat) |
| Rafael Espindola | ebd9193 | 2016-03-01 19:15:06 +0000 | [diff] [blame] | 22 | add_subdirectory(ObjectYAML) |
| Michael J. Spencer | 41ee041 | 2012-12-05 00:29:32 +0000 | [diff] [blame] | 23 | add_subdirectory(Option) |
| Justin Bogner | 0cca70a | 2015-02-04 00:15:12 +0000 | [diff] [blame] | 24 | add_subdirectory(ProfileData) |
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 25 | add_subdirectory(Support) |
| Diana Picus | 40f9341 | 2016-10-12 09:00:44 +0000 | [diff] [blame] | 26 | add_subdirectory(Target) |
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 27 | add_subdirectory(Transforms) |
| Dean Michael Berris | 6c97b3a | 2017-02-10 06:36:08 +0000 | [diff] [blame] | 28 | add_subdirectory(XRay) |