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