llvm-project/llvm/unittests/CMakeLists.txt

38 lines
1.0 KiB
CMake
Raw Normal View History

add_custom_target(UnitTests)
set_target_properties(UnitTests PROPERTIES FOLDER "Tests")
function(add_llvm_unittest test_dirname)
add_unittest(UnitTests ${test_dirname} ${ARGN})
endfunction()
function(add_llvm_unittest_with_input_files test_dirname)
add_unittest_with_input_files(UnitTests ${test_dirname} ${ARGN})
endfunction()
add_subdirectory(ADT)
add_subdirectory(Analysis)
add_subdirectory(AsmParser)
2018-05-15 02:23:05 +08:00
add_subdirectory(BinaryFormat)
add_subdirectory(Bitcode)
add_subdirectory(CodeGen)
2013-09-04 04:51:14 +08:00
add_subdirectory(DebugInfo)
add_subdirectory(Demangle)
2013-09-04 04:51:14 +08:00
add_subdirectory(ExecutionEngine)
add_subdirectory(FuzzMutate)
2013-09-04 04:51:14 +08:00
add_subdirectory(IR)
add_subdirectory(LineEditor)
add_subdirectory(Linker)
add_subdirectory(MC)
add_subdirectory(MI)
add_subdirectory(Object)
add_subdirectory(ObjectYAML)
add_subdirectory(Option)
add_subdirectory(Remarks)
add_subdirectory(Passes)
add_subdirectory(ProfileData)
add_subdirectory(Support)
add_subdirectory(TextAPI)
add_subdirectory(Target)
add_subdirectory(Transforms)
add_subdirectory(XRay)
add_subdirectory(tools)