summaryrefslogtreecommitdiffstats
path: root/tests/otherbinding/CMakeLists.txt
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo@setantas.net>2011-02-06 00:41:50 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2011-02-17 14:44:02 -0300
commit1e76df322a8a476e2898f27878c3edc5b9f72b9a (patch)
tree4b2901ca4c85e081f74408520b5808d8194e729a /tests/otherbinding/CMakeLists.txt
parent1cfc5f160ceae291f407ffc58046114fec96da8b (diff)
downloadshiboken-1e76df322a8a476e2898f27878c3edc5b9f72b9a.tar.gz
shiboken-1e76df322a8a476e2898f27878c3edc5b9f72b9a.tar.xz
shiboken-1e76df322a8a476e2898f27878c3edc5b9f72b9a.zip
The option "avoid protected hack" is now set via command line.1.0.0-rc1
Instead of the old ugly way of compiling the behaviour forever using "#define". Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/otherbinding/CMakeLists.txt')
-rw-r--r--tests/otherbinding/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/otherbinding/CMakeLists.txt b/tests/otherbinding/CMakeLists.txt
index 5a859679..366bdbd5 100644
--- a/tests/otherbinding/CMakeLists.txt
+++ b/tests/otherbinding/CMakeLists.txt
@@ -18,7 +18,7 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/other-binding.txt.in"
"${CMAKE_CURRENT_BINARY_DIR}/other-binding.txt" @ONLY)
add_custom_command(OUTPUT ${other_SRC}
-COMMAND ${GENERATORRUNNER_BINARY} --project-file=${CMAKE_CURRENT_BINARY_DIR}/other-binding.txt
+COMMAND ${GENERATORRUNNER_BINARY} --project-file=${CMAKE_CURRENT_BINARY_DIR}/other-binding.txt ${GENERATOR_EXTRA_FLAGS}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Running generator for 'other' test binding..."
)