Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / tools / lldb-test / CMakeLists.txt
blob120e3aaa9d20cb8e67743cad6c52ac21e8018469
1 get_property(LLDB_ALL_PLUGINS GLOBAL PROPERTY LLDB_PLUGINS)
3 add_lldb_tool(lldb-test
4   FormatUtil.cpp
5   lldb-test.cpp
6   SystemInitializerTest.cpp
8   LINK_LIBS
9     lldbBreakpoint
10     lldbCore
11     lldbDataFormatters
12     lldbExpression
13     lldbHost
14     lldbInitialization
15     lldbInterpreter
16     lldbSymbol
17     lldbTarget
18     lldbUtility
19     lldbVersion
20     ${LLDB_ALL_PLUGINS}
22   LINK_COMPONENTS
23     Support
24   )
26 if(Python3_RPATH)
27   set_property(TARGET lldb-test APPEND PROPERTY INSTALL_RPATH "${Python3_RPATH}")
28   set_property(TARGET lldb-test APPEND PROPERTY BUILD_RPATH   "${Python3_RPATH}")
29 endif()
31 target_include_directories(lldb-test PRIVATE ${LLDB_SOURCE_DIR}/source)
32 target_include_directories(lldb-test PRIVATE ${LLDB_BINARY_DIR}/source)