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.
This commit is contained in:
parent
b7f36fec39
commit
720c76980d
4 changed files with 5 additions and 44 deletions
|
|
@ -37,7 +37,7 @@ else()
|
|||
else()
|
||||
message(WARNING "Invalid call of macro PYSIDE_TEST")
|
||||
endif()
|
||||
set(TEST_CMD ${XVFB_EXEC} ${PYTHON_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/${ARGV0}")
|
||||
set(TEST_CMD ${XVFB_EXEC} ${SHIBOKEN_PYTHON_INTERPRETER} "${CMAKE_CURRENT_SOURCE_DIR}/${ARGV0}")
|
||||
add_test(${TEST_NAME} ${TEST_CMD})
|
||||
set_tests_properties(${TEST_NAME} PROPERTIES
|
||||
TIMEOUT ${CTEST_TESTING_TIMEOUT}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ project(testbinding)
|
|||
cmake_minimum_required(VERSION 2.6)
|
||||
find_package(Qt4 4.5.0 REQUIRED)
|
||||
find_package(PythonLibs REQUIRED)
|
||||
find_package(PythonInterpWithDebug REQUIRED)
|
||||
find_package(GeneratorRunner 0.6 REQUIRED)
|
||||
find_package(Shiboken 0.5 REQUIRED)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue