From 531e4798fcf1d4f281cd7f9db5229a2b86e67670 Mon Sep 17 00:00:00 2001 From: Jos van den Oever Date: Mon, 20 Nov 2017 09:05:48 +0100 Subject: [PATCH] Do not overwrite implementation.rs in the tests. --- tests/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3d2c88f..da0454f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -10,11 +10,10 @@ function(rust_test NAME DIRECTORY) add_custom_command( OUTPUT "${DIR}/src/interface.rs" - "${DIR}/src/implementation.rs" "${SRC}/${NAME}_rust.h" # if the cpp file is marked GENERATED, CMake will not check it for moc # "${SRC}/${NAME}_rust.cpp" - COMMAND "${GENERATOR}" --overwrite-implementation "${SRC}/${NAME}.json" + COMMAND "${GENERATOR}" "${SRC}/${NAME}.json" MAIN_DEPENDENCY "${NAME}.json" DEPENDS rust_qt_binding_generator )