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