llvm/unittests/Target/CMakeLists.txt
raw| 1 | foreach(t ${LLVM_TARGETS_TO_BUILD}) |
| 2 | if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${t}) |
| 3 | add_subdirectory(${t}) |
| 4 | endif() |
| 5 | endforeach() |
| 6 | |
| 7 | set(LLVM_LINK_COMPONENTS Core Target AllTargetsCodeGens AllTargetsDescs AllTargetsInfos) |
| 8 | |
| 9 | add_llvm_unittest(TargetMachineCTests |
| 10 | TargetMachineOptionsTest.cpp |
| 11 | ) |