Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / unittests / Target / CMakeLists.txt
blobb10236a2948f82323a4d57196102d17800fbf90d
1 foreach(t ${LLVM_TARGETS_TO_BUILD})
2   if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${t})
3     add_subdirectory(${t})
4   endif()
5 endforeach()
7 set(LLVM_LINK_COMPONENTS Core Target AllTargetsCodeGens AllTargetsDescs AllTargetsInfos)
9 add_llvm_unittest(TargetMachineCTests
10   TargetMachineOptionsTest.cpp
13 set_property(TARGET TargetMachineCTests
14   PROPERTY FOLDER "Tests/UnitTests/TargetTests")