diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-01-24 21:17:27 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-01-25 08:32:20 -0300 |
commit | 5f6d08e17f214d7d3a41a1cbdfb2d975e02a33cd (patch) | |
tree | 4287dc5ba6eafe5db035ea661ef3133a67aa196c /tests/test_generator/CMakeLists.txt | |
parent | 13480bf7867bed1cfa64613fddb0d6e53aa36b9e (diff) |
Modified GeneratorRunner to support a simpler format of project file.
The project file are now just a text file containing key/value pairs.
The documentation was updated accordingly, including the man page.
Diffstat (limited to 'tests/test_generator/CMakeLists.txt')
-rw-r--r-- | tests/test_generator/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_generator/CMakeLists.txt b/tests/test_generator/CMakeLists.txt index c8dd017e4..180bba273 100644 --- a/tests/test_generator/CMakeLists.txt +++ b/tests/test_generator/CMakeLists.txt @@ -40,6 +40,12 @@ macro(declare_test testname) set_property(TEST ${testname} PROPERTY ENVIRONMENT "PATH=${ENV_PATH}" "QT_PLUGIN_PATH=${ENV_QT_PLUGIN_PATH}") endmacro(declare_test testname) +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/test_global.h" + "${CMAKE_CURRENT_BINARY_DIR}/test_global.h" COPYONLY) +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/test_typesystem.xml" + "${CMAKE_CURRENT_BINARY_DIR}/test_typesystem.xml" COPYONLY) +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/dummygentest-project.txt.in" + "${CMAKE_CURRENT_BINARY_DIR}/dummygentest-project.txt" @ONLY) declare_test(dummygentest) add_dependencies(dummygenerator generatorrunner) |