From 799342ea7a00fdd698387e5b3438bd50002c4383 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Wed, 12 Jan 2011 13:26:53 -0300 Subject: Shiboken executable calls GeneratorRunner with the renamed "--generator-set" argument. --- generator/main.cpp | 2 +- tests/otherbinding/CMakeLists.txt | 3 ++- tests/samplebinding/CMakeLists.txt | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/generator/main.cpp b/generator/main.cpp index 051225061..b2f2d37ec 100644 --- a/generator/main.cpp +++ b/generator/main.cpp @@ -26,7 +26,7 @@ int main(int argc, char *argv[]) { QStringList args; - args.append("--generatorSet=shiboken"); + args.append("--generator-set=shiboken"); for (int i = 1; i < argc; i++) args.append(argv[i]); return QProcess::execute("generatorrunner", args); diff --git a/tests/otherbinding/CMakeLists.txt b/tests/otherbinding/CMakeLists.txt index ebea91255..66e655c36 100644 --- a/tests/otherbinding/CMakeLists.txt +++ b/tests/otherbinding/CMakeLists.txt @@ -14,7 +14,8 @@ ${CMAKE_CURRENT_BINARY_DIR}/other/other_module_wrapper.cpp ) add_custom_command(OUTPUT ${other_SRC} -COMMAND ${GENERATORRUNNER_BINARY} --generatorSet=${generators_BINARY_DIR}/shiboken_generator${CMAKE_RELEASE_POSTFIX}${CMAKE_DEBUG_POSTFIX} --enable-parent-ctor-heuristic +COMMAND ${GENERATORRUNNER_BINARY} --generator-set=${generators_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}${PATH_SEP}${libsample_SOURCE_DIR}${PATH_SEP}${libsample_SOURCE_DIR}/.. --typesystem-paths=${CMAKE_CURRENT_SOURCE_DIR}${PATH_SEP}${sample_SOURCE_DIR} diff --git a/tests/samplebinding/CMakeLists.txt b/tests/samplebinding/CMakeLists.txt index c22351f5b..75069626a 100644 --- a/tests/samplebinding/CMakeLists.txt +++ b/tests/samplebinding/CMakeLists.txt @@ -88,7 +88,9 @@ ${CMAKE_CURRENT_BINARY_DIR}/sample/valueandvirtual_wrapper.cpp ) add_custom_command(OUTPUT ${sample_SRC} -COMMAND ${GENERATORRUNNER_BINARY} --generatorSet=${generators_BINARY_DIR}/shiboken_generator${CMAKE_RELEASE_POSTFIX}${CMAKE_DEBUG_POSTFIX} --enable-parent-ctor-heuristic --use-isnull-as-nb_nonzero +COMMAND ${GENERATORRUNNER_BINARY} --generator-set=${generators_BINARY_DIR}/shiboken_generator${CMAKE_RELEASE_POSTFIX}${CMAKE_DEBUG_POSTFIX} + --enable-parent-ctor-heuristic + --use-isnull-as-nb_nonzero ${CMAKE_CURRENT_SOURCE_DIR}/global.h --include-paths=${libsample_SOURCE_DIR} --typesystem-paths=${CMAKE_CURRENT_SOURCE_DIR} -- cgit v1.2.3