summaryrefslogtreecommitdiffstats
path: root/config.tests/separate_debug_info
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/separate_debug_info')
-rw-r--r--config.tests/separate_debug_info/CMakeLists.txt7
-rw-r--r--config.tests/separate_debug_info/main.cpp2
2 files changed, 7 insertions, 2 deletions
diff --git a/config.tests/separate_debug_info/CMakeLists.txt b/config.tests/separate_debug_info/CMakeLists.txt
index c23b57566e..1b38d23e25 100644
--- a/config.tests/separate_debug_info/CMakeLists.txt
+++ b/config.tests/separate_debug_info/CMakeLists.txt
@@ -1,4 +1,6 @@
-# special case skip regeneration
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
cmake_minimum_required(VERSION 3.16)
project(objcopytest LANGUAGES CXX)
add_executable(objcopytest main.cpp)
@@ -7,4 +9,5 @@ add_custom_command(
POST_BUILD
COMMAND ${CMAKE_OBJCOPY} --only-keep-debug $<TARGET_FILE:objcopytest> objcopytest.debug
COMMAND ${CMAKE_OBJCOPY} --strip-debug $<TARGET_FILE:objcopytest>
- COMMAND ${CMAKE_OBJCOPY} --add-gnu-debuglink=objcopytest.debug $<TARGET_FILE:objcopytest>)
+ COMMAND ${CMAKE_OBJCOPY} --add-gnu-debuglink=objcopytest.debug $<TARGET_FILE:objcopytest>
+ VERBATIM)
diff --git a/config.tests/separate_debug_info/main.cpp b/config.tests/separate_debug_info/main.cpp
index 237c8ce181..085864129a 100644
--- a/config.tests/separate_debug_info/main.cpp
+++ b/config.tests/separate_debug_info/main.cpp
@@ -1 +1,3 @@
+// Copyright (C) 2024 The Qt Company Ltd.
+// SPDX-License-Identifier: BSD-3-Clause
int main() {}