1 add_custom_target(UnitTests) 2 set_target_properties(UnitTests PROPERTIES FOLDER "Tests") 3 4 function(add_llvm_unittest test_dirname) 5 add_unittest(UnitTests ${test_dirname} ${ARGN}) 6 endfunction() 7 8 add_subdirectory(ADT) 9 add_subdirectory(Analysis) 10 add_subdirectory(ExecutionEngine) 11 add_subdirectory(Bitcode) 12 add_subdirectory(Option) 13 add_subdirectory(Support) 14 add_subdirectory(Transforms) 15 add_subdirectory(IR) 16 add_subdirectory(DebugInfo) 17 add_subdirectory(Object) 18