From 3c8595282a7ba485b464b8114e8f9adb8559eeaf Mon Sep 17 00:00:00 2001 From: Renato Filho Date: Fri, 18 Jun 2010 11:43:39 -0300 Subject: Fixes the build-tests by including the library postfixes in the program calls Author: Didier Raboud Reviewers: Luciano Wolf , Marcelo Lira --- tests/otherbinding/CMakeLists.txt | 2 +- tests/samplebinding/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/otherbinding/CMakeLists.txt b/tests/otherbinding/CMakeLists.txt index 1a77965d2..d9b97147e 100644 --- a/tests/otherbinding/CMakeLists.txt +++ b/tests/otherbinding/CMakeLists.txt @@ -16,7 +16,7 @@ ${CMAKE_CURRENT_BINARY_DIR}/other/other_module_wrapper.cpp find_program(GENERATOR generatorrunner REQUIRED) add_custom_command(OUTPUT ${other_SRC} -COMMAND ${GENERATOR} --generatorSet=${shiboken_BINARY_DIR}/shiboken_generator${CMAKE_DEBUG_POSTFIX} --enable-parent-ctor-heuristic +COMMAND ${GENERATOR} --generatorSet=${shiboken_BINARY_DIR}/shiboken_generator${CMAKE_RELEASE_POSTFIX}${CMAKE_DEBUG_POSTFIX} --enable-parent-ctor-heuristic ${CMAKE_CURRENT_SOURCE_DIR}/global.h --include-paths=${libother_SOURCE_DIR}:${libsample_SOURCE_DIR}:${libsample_SOURCE_DIR}/.. --typesystem-paths=${CMAKE_CURRENT_SOURCE_DIR}:${sample_SOURCE_DIR} diff --git a/tests/samplebinding/CMakeLists.txt b/tests/samplebinding/CMakeLists.txt index 704d48c0a..a41ad727c 100644 --- a/tests/samplebinding/CMakeLists.txt +++ b/tests/samplebinding/CMakeLists.txt @@ -76,7 +76,7 @@ ${CMAKE_CURRENT_BINARY_DIR}/sample/voidholder_wrapper.cpp find_program(GENERATOR generatorrunner REQUIRED) add_custom_command(OUTPUT ${sample_SRC} -COMMAND ${GENERATOR} --generatorSet=${shiboken_BINARY_DIR}/shiboken_generator${CMAKE_DEBUG_POSTFIX} --enable-parent-ctor-heuristic +COMMAND ${GENERATOR} --generatorSet=${shiboken_BINARY_DIR}/shiboken_generator${CMAKE_RELEASE_POSTFIX}${CMAKE_DEBUG_POSTFIX} --enable-parent-ctor-heuristic ${CMAKE_CURRENT_SOURCE_DIR}/global.h --include-paths=${libsample_SOURCE_DIR} --typesystem-paths=${CMAKE_CURRENT_SOURCE_DIR} -- cgit v1.2.3