diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-10-25 16:58:03 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-10-26 13:49:07 -0300 |
commit | 720c76980dedd51abee7f182bd261a9ce5405a5e (patch) | |
tree | e8d0d0112a08dc4302852d7890a091854b709676 /cmake/Modules | |
parent | b7f36fec396631cf61ecc801e55df73a2ef55857 (diff) | |
download | pyside-720c76980dedd51abee7f182bd261a9ce5405a5e.tar.gz pyside-720c76980dedd51abee7f182bd261a9ce5405a5e.tar.xz pyside-720c76980dedd51abee7f182bd261a9ce5405a5e.zip |
Modified cmake files to make use of debug information provided by Shiboken.
In summation, PySide is compiled for debug if the libshiboken is
compiled for debug.
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/FindPythonInterpWithDebug.cmake | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/cmake/Modules/FindPythonInterpWithDebug.cmake b/cmake/Modules/FindPythonInterpWithDebug.cmake deleted file mode 100644 index 264dd5d..0000000 --- a/cmake/Modules/FindPythonInterpWithDebug.cmake +++ /dev/null @@ -1,21 +0,0 @@ -INCLUDE(FindPythonInterp) - -find_package(PythonInterp REQUIRED) - -#Fix missing variable on UNIX env -if(NOT PYTHON_DEBUG_LIBRARIES AND UNIX) - set(PYTHON_DEBUG_LIBRARIES "${PYTHON_LIBRARIES}") -endif() - -if(PYTHONINTERP_FOUND AND UNIX AND CMAKE_BUILD_TYPE STREQUAL "Debug") - # This is for Debian - set(PYTHON_EXECUTABLE_TMP "${PYTHON_EXECUTABLE}-dbg") - - # Fall back to the standard interpreter. - if(NOT EXISTS "${PYTHON_EXECUTABLE_TMP}") - set(PYTHON_EXECUTABLE_TMP "${PYTHON_EXECUTABLE}") - endif() - - set(PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE_TMP}") -endif() - |