summaryrefslogtreecommitdiffhomepage
path: root/userconfig-sthalik@Windows-Clang.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'userconfig-sthalik@Windows-Clang.cmake')
-rw-r--r--userconfig-sthalik@Windows-Clang.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake
index 0c88d7d1..a3070d08 100644
--- a/userconfig-sthalik@Windows-Clang.cmake
+++ b/userconfig-sthalik@Windows-Clang.cmake
@@ -28,10 +28,12 @@ endif()
set(OpenCV_DIR "f:/dev/opentrack-depends/opencv/build-clang-amd64/install" CACHE PATH "" FORCE)
set(CMAKE_INSTALL_MESSAGE NEVER)
+set(_debug_info_flags "-ggdb3 -gsplit-dwarf -gcolumn-info -gdwarf-aranges -gz=zlib")
+
sets(STRING
CMAKE_C_FLAGS ""
- CMAKE_C_FLAGS_DEBUG "-O0 -g -ggdb -gcolumn-info -gmodules -gdwarf-aranges -gz=zlib -fstack-protector-all"
- CMAKE_C_FLAGS_RELEASE "-O3 -g -ggdb -gsplit-dwarf -ffast-math -march=nehalem -mtune=native -mpopcnt -mavx -fomit-frame-pointer -fno-stack-protector"
+ CMAKE_C_FLAGS_DEBUG "-O0 ${_debug_info_flags} -fstack-protector-all"
+ CMAKE_C_FLAGS_RELEASE "-O3 ${_debug_info_flags} -ffast-math -march=nehalem -mtune=native -mpopcnt -mavx -fomit-frame-pointer -fno-stack-protector"
CMAKE_EXE_LINKER_FLAGS_DEBUG ""
CMAKE_SHARED_LINKER_FLAGS_DEBUG ""
)