From: Łukasz Stelmach Date: Thu, 27 Sep 2018 08:01:35 +0000 (+0200) Subject: Do not copy source files, it breaks SCQV process X-Git-Tag: submit/tizen/20181031.134751~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cecf042f01e422c626a24cb405e15bf793079da9;p=platform%2Fcore%2Fsystem%2Fcrash-worker.git Do not copy source files, it breaks SCQV process Change-Id: Id9a7c450e67a67c366a937ad4337833f34404a3a Signed-off-by: Łukasz Stelmach --- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9e2695d3..6c4d6583 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -12,15 +12,14 @@ endif () set(test1_suffixes sleep crash ill) foreach(suffix ${test1_suffixes}) - configure_file(test1.c test1-default-${suffix}.c COPYONLY) - add_executable(test1-default-${suffix} test1-default-${suffix}.c) + add_executable(test1-default-${suffix} test1.c) set(DEFAULT_FLAGS_TARGETS test1-default-${suffix}) - configure_file(test1.c test1-custom-${suffix}.c COPYONLY) - add_executable(test1-custom-${suffix} test1-custom-${suffix}.c) + add_executable(test1-custom-${suffix} test1.c) set(CUSTOM_FLAGS_TARGETS test1-custom-${suffix}) endforeach() + pkg_check_modules (GLIB2 glib-2.0) configure_file(test2.c test2-custom.c COPYONLY) @@ -29,8 +28,7 @@ target_include_directories(test2-custom SYSTEM PUBLIC ${GLIB2_INCLUDE_DIRS}) target_link_libraries(test2-custom ${GLIB2_LDFLAGS}) list(APPEND CUSTOM_FLAGS_TARGETS test2-custom) -configure_file(test3.c test3-custom.c COPYONLY) -add_executable(test3-custom test3-custom.c) +add_executable(test3-custom test3.c) target_include_directories(test3-custom SYSTEM PUBLIC ${GLIB2_INCLUDE_DIRS}) target_link_libraries(test3-custom ${GLIB2_LDFLAGS} -lpthread) list(APPEND CUSTOM_FLAGS_TARGETS test3-custom)