xref: /llvm-project/flang/unittests/Optimizer/CMakeLists.txt (revision 04034f0549d4313c556c857f1e60e70ce87d8076)
193f602b3Ssameeran joshiget_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
2a5ef51d7SRiver Riddleget_property(extension_libs GLOBAL PROPERTY MLIR_EXTENSION_LIBS)
393f602b3Ssameeran joshi
493f602b3Ssameeran joshiset(LIBS
545daa4fdSValentin Clement (バレンタイン クレメン)  CUFDialect
6bde89ac7SEric Schweitz  FIRBuilder
7b5a11a99SValentin Clement  FIRCodeGen
8b5a11a99SValentin Clement  FIRDialect
9b07ef9e7SRenaud-K  FIRDialectSupport
10b5a11a99SValentin Clement  FIRSupport
11451b1b1fSJean Perier  HLFIRDialect
12f09cf34dSArchibald Elliott  LLVMTargetParser
1393f602b3Ssameeran joshi)
1493f602b3Ssameeran joshi
1593f602b3Ssameeran joshiadd_flang_unittest(FlangOptimizerTests
1613c31539SValentin Clement  Builder/CharacterTest.cpp
17a1f9bd32SKiran Chandramohan  Builder/ComplexTest.cpp
18bde89ac7SEric Schweitz  Builder/DoLoopHelperTest.cpp
19f17f694aSValentin Clement  Builder/FIRBuilderTest.cpp
20a5fb4028SJean Perier  Builder/HLFIRToolsTest.cpp
21ffc67bb3SDavid Spickett  Builder/Runtime/AllocatableTest.cpp
22ffc67bb3SDavid Spickett  Builder/Runtime/AssignTest.cpp
23ffc67bb3SDavid Spickett  Builder/Runtime/CommandTest.cpp
24ffc67bb3SDavid Spickett  Builder/Runtime/CharacterTest.cpp
25ffc67bb3SDavid Spickett  Builder/Runtime/DerivedTest.cpp
26856c38d5SDavid Truby  Builder/Runtime/IntrinsicsTest.cpp
27ffc67bb3SDavid Spickett  Builder/Runtime/NumericTest.cpp
28ffc67bb3SDavid Spickett  Builder/Runtime/RaggedTest.cpp
29ffc67bb3SDavid Spickett  Builder/Runtime/ReductionTest.cpp
30ffc67bb3SDavid Spickett  Builder/Runtime/StopTest.cpp
31ffc67bb3SDavid Spickett  Builder/Runtime/TransformationalTest.cpp
32c68d2895SEric Schweitz  FIRContextTest.cpp
33e50e19afSValentin Clement  FIRTypesTest.cpp
34a398981fSJean Perier  FortranVariableTest.cpp
3593f602b3Ssameeran joshi  InternalNamesTest.cpp
364dc87d10SEric Schweitz  KindMappingTest.cpp
37b5a11a99SValentin Clement  RTBuilder.cpp
382ab1c6d3SDavid TrubyDEPENDS
3945daa4fdSValentin Clement (バレンタイン クレメン)  CUFDialect
402ab1c6d3SDavid Truby  FIRDialect
412ab1c6d3SDavid Truby  FIRSupport
422ab1c6d3SDavid Truby  HLFIRDialect
432ab1c6d3SDavid Truby  ${dialect_libs})
442ab1c6d3SDavid Truby
4593f602b3Ssameeran joshitarget_link_libraries(FlangOptimizerTests
4693f602b3Ssameeran joshi  PRIVATE
4793f602b3Ssameeran joshi  ${LIBS})
48*04034f05SMichał Górnymlir_target_link_libraries(FlangOptimizerTests
49*04034f05SMichał Górny  PRIVATE
50*04034f05SMichał Górny  ${dialect_libs}
51*04034f05SMichał Górny  ${extension_libs}
52*04034f05SMichał Górny  )
53