diff options
author | Brad King <brad.king@kitware.com> | 2022-02-10 14:09:01 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-02-10 14:09:10 (GMT) |
commit | 5593a5d9788835c571b3229f20e99198e501d376 (patch) | |
tree | 5f49566b90cbc558bcda34b2a1123813a34c9295 /Modules | |
parent | ea733321450348ec42b73f0a736c15e54bc7b802 (diff) | |
parent | 641cb1093b9b67875f60ed4a51110262f2170b12 (diff) | |
download | CMake-5593a5d9788835c571b3229f20e99198e501d376.zip CMake-5593a5d9788835c571b3229f20e99198e501d376.tar.gz CMake-5593a5d9788835c571b3229f20e99198e501d376.tar.bz2 |
Merge topic 'clang-cross-compile-windows-pdb'
641cb1093b Windows/Clang: Support PDB when cross-compiling
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !6959
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Windows-Clang.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-Clang.cmake b/Modules/Platform/Windows-Clang.cmake index c4d6fd8..e7e975d 100644 --- a/Modules/Platform/Windows-Clang.cmake +++ b/Modules/Platform/Windows-Clang.cmake @@ -101,6 +101,7 @@ macro(__windows_compiler_clang_gnu lang) string(APPEND CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT " -O2 -g -DNDEBUG -Xclang -gcodeview ${__ADDED_FLAGS}") endif() set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ") + set(CMAKE_${lang}_LINKER_SUPPORTS_PDB ON) set(CMAKE_PCH_EXTENSION .pch) set(CMAKE_PCH_PROLOGUE "#pragma clang system_header") |