diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2018-09-27 10:01:35 +0200 |
---|---|---|
committer | Łukasz Stelmach <l.stelmach@samsung.com> | 2018-09-27 10:22:13 +0200 |
commit | cecf042f01e422c626a24cb405e15bf793079da9 (patch) | |
tree | 9a3c6fa8a28f097567d266d9192c45a34dd2d2e9 | |
parent | 29265fa94a63f6f76f07e85079d31c3b15e173df (diff) | |
download | crash-worker-cecf042f01e422c626a24cb405e15bf793079da9.tar.gz crash-worker-cecf042f01e422c626a24cb405e15bf793079da9.tar.bz2 crash-worker-cecf042f01e422c626a24cb405e15bf793079da9.zip |
Do not copy source files, it breaks SCQV process
Change-Id: Id9a7c450e67a67c366a937ad4337833f34404a3a
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rw-r--r-- | tests/CMakeLists.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9e2695d..6c4d658 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) |