diff options
Diffstat (limited to 'config.tests/separate_debug_info/CMakeLists.txt')
-rw-r--r-- | config.tests/separate_debug_info/CMakeLists.txt | 7 |
1 files changed, 5 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) |