Debian Codegraph @

lldb/unittests/ScriptInterpreter/Python/CMakeLists.txt

raw
1 if (APPLE AND LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY)
2 # Work around an issue with the Python headers, which have a modular include
3 # inside an extern "C" block.
4 remove_module_flags()
5 endif()
6
7 add_lldb_unittest(ScriptInterpreterPythonTests
8 PythonDataObjectsTests.cpp
9 PythonTestSuite.cpp
10
11 LINK_COMPONENTS
12 Support
13 LINK_LIBS
14 lldbHost
15 lldbPluginScriptInterpreterPython
16 LLVMTestingSupport
17 )
18
19 if(Python3_RPATH)
20 set_property(TARGET ScriptInterpreterPythonTests APPEND PROPERTY BUILD_RPATH "${Python3_RPATH}")
21 endif()