xref: /llvm-project/lldb/unittests/ScriptInterpreter/Python/CMakeLists.txt (revision aa2c2c8e3c3fe74f2b374b3fdc703ca7b05f80a0)
1*aa2c2c8eSAdrian Prantlif (APPLE AND LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY)
2*aa2c2c8eSAdrian Prantl  # Work around an issue with the Python headers, which have a modular include
3*aa2c2c8eSAdrian Prantl  # inside an extern "C" block.
4*aa2c2c8eSAdrian Prantl  remove_module_flags()
5*aa2c2c8eSAdrian Prantlendif()
6*aa2c2c8eSAdrian Prantl
722c8efcdSZachary Turneradd_lldb_unittest(ScriptInterpreterPythonTests
822c8efcdSZachary Turner  PythonDataObjectsTests.cpp
9c946d462SZachary Turner  PythonTestSuite.cpp
1022c8efcdSZachary Turner
111751311aSChris Bieneman  LINK_LIBS
121751311aSChris Bieneman    lldbHost
131751311aSChris Bieneman    lldbPluginScriptInterpreterPython
142fce1137SLawrence D'Anna    LLVMTestingSupport
151751311aSChris Bieneman  LINK_COMPONENTS
161751311aSChris Bieneman    Support
171751311aSChris Bieneman  )
1885395887SJonas Devlieghere
1975966ee2SJonas Devlieghereif(Python3_RPATH)
2075966ee2SJonas Devlieghere  set_property(TARGET ScriptInterpreterPythonTests APPEND PROPERTY BUILD_RPATH "${Python3_RPATH}")
2185395887SJonas Devlieghereendif()
22