summaryrefslogtreecommitdiff
path: root/cmake/tests/qt_make_output_file
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-11-22 11:35:17 +0100
committerTobias Hunger <tobias.hunger@qt.io>2018-11-22 12:45:35 +0000
commitc68e5fc59ba8f0fd8b782a37df20ab9b7d7ecafa (patch)
tree4295a444826c3ca4be6fa895ed15a55ea38e42f8 /cmake/tests/qt_make_output_file
parentbdb5e2a48ea206005eaa8305b7517b2843f2aba1 (diff)
downloadqtbase-c68e5fc59ba8f0fd8b782a37df20ab9b7d7ecafa.tar.gz
CMake: Add macro to generate cmake build-only tests
In addition to cmake tests that run cmake, build and then run the tests of that project, also add a macro for tests that only run cmake. Use this new kind of test for the existing tests. Change-Id: I465600974ed4114e724988b309404ccd3db2e0cb Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'cmake/tests/qt_make_output_file')
-rw-r--r--cmake/tests/qt_make_output_file/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmake/tests/qt_make_output_file/CMakeLists.txt b/cmake/tests/qt_make_output_file/CMakeLists.txt
index d66579f514..3620909494 100644
--- a/cmake/tests/qt_make_output_file/CMakeLists.txt
+++ b/cmake/tests/qt_make_output_file/CMakeLists.txt
@@ -20,5 +20,3 @@ assert(outfile STREQUAL "/tmp/bar/__/prefix_foo.cpp")
qt_make_output_file("/tmp/bar/foo.cpp" "prefix_" ".cpp" "/tmp/foo" "/tmp/bar" outfile)
assert(outfile STREQUAL "/tmp/bar/prefix_foo.cpp")
-
-add_executable(qt_make_output_file ../main.cpp)