flang/unittests/Frontend/CMakeLists.txt
raw| 1 | set(LLVM_LINK_COMPONENTS |
| 2 | ${LLVM_TARGETS_TO_BUILD} |
| 3 | TargetParser |
| 4 | Core |
| 5 | ) |
| 6 | |
| 7 | add_flang_unittest(FlangFrontendTests |
| 8 | CodeGenActionTest.cpp |
| 9 | CompilerInstanceTest.cpp |
| 10 | FrontendActionTest.cpp |
| 11 | ) |
| 12 | |
| 13 | target_link_libraries(FlangFrontendTests |
| 14 | PRIVATE |
| 15 | clangBasic |
| 16 | flangFrontend |
| 17 | flangFrontendTool |
| 18 | FortranLower |
| 19 | FortranParser |
| 20 | FortranSemantics |
| 21 | FortranCommon |
| 22 | FortranEvaluate |
| 23 | MLIRIR |
| 24 | ) |