
If we're not touching them, we don't need to do anything special to pass them along -- with one important caveat: due to how cmake arguments work, the implicitly passed arguments need to be specified before arguments that we handle. This isn't particularly nice, but the alternative is enumerating all arguments that can be used by llvm_add_library and the macros it calls (it also relies on implicit passing of some arguments to llvm_process_sources).
22 lines
543 B
CMake
22 lines
543 B
CMake
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()
|