From 0a5cacdb9c25d79df02d7b201ab1f2277caceca3 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Sun, 6 Feb 2011 00:41:50 -0300 Subject: The option "avoid protected hack" is now set via command line. Instead of the old ugly way of compiling the behaviour forever using "#define". Reviewed by Hugo Parente Reviewed by Luciano Wolf --- tests/samplebinding/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/samplebinding') diff --git a/tests/samplebinding/CMakeLists.txt b/tests/samplebinding/CMakeLists.txt index abe982aab..e21c22864 100644 --- a/tests/samplebinding/CMakeLists.txt +++ b/tests/samplebinding/CMakeLists.txt @@ -92,7 +92,7 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/sample-binding.txt.in" "${CMAKE_CURRENT_BINARY_DIR}/sample-binding.txt" @ONLY) add_custom_command(OUTPUT ${sample_SRC} -COMMAND ${GENERATORRUNNER_BINARY} --project-file=${CMAKE_CURRENT_BINARY_DIR}/sample-binding.txt +COMMAND ${GENERATORRUNNER_BINARY} --project-file=${CMAKE_CURRENT_BINARY_DIR}/sample-binding.txt ${GENERATOR_EXTRA_FLAGS} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMENT "Running generator for 'sample' test binding..." ) -- cgit v1.2.3