aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-08-27 18:37:30 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-08-27 19:04:33 -0300
commit21ec8e15575cb3f58db759d123b2e471f9bd2e22 (patch)
tree309cd9cba850ccc49265597ff3b195853564955e /tests
parent39dd735c9486a5808e26a4f07e19522cc904ddd9 (diff)
Shiboken ported to the new generator/apiextractor architeture.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/samplebinding/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/samplebinding/CMakeLists.txt b/tests/samplebinding/CMakeLists.txt
index f0c04188e..08c8ee7ff 100644
--- a/tests/samplebinding/CMakeLists.txt
+++ b/tests/samplebinding/CMakeLists.txt
@@ -21,8 +21,10 @@ ${CMAKE_CURRENT_BINARY_DIR}/sample/size_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/sample/virtualmethods_wrapper.cpp
)
+find_program(GENERATOR generatorrunner REQUIRED)
+
add_custom_command(OUTPUT ${sample_SRC}
-COMMAND ${CMAKE_BINARY_DIR}/shiboken
+COMMAND ${GENERATOR} --generatorSet=${shiboken_BINARY_DIR}/shiboken
${CMAKE_CURRENT_SOURCE_DIR}/global.h
--include-paths=${libsample_SOURCE_DIR}
--typesystem-paths=${CMAKE_CURRENT_SOURCE_DIR}