diff options
author | bubnikv <bubnikv@gmail.com> | 2019-05-13 20:31:20 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-05-13 20:31:20 +0300 |
commit | cebb814a56b480e6c8fb8c05cded5896cc155487 (patch) | |
tree | 28c7bf193e871a5ade7040f636a3b36b84be7566 /CMakeLists.txt | |
parent | 03ab6aedad4f7d3ccd3d26b87b905445594cc8f0 (diff) |
Generate debug symbols for Windows builds even in Release mode.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d2c0f655..73805d0d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,7 +59,8 @@ if (MSVC) endif () # /bigobj (Increase Number of Sections in .Obj file) # error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of '-Zm90' or greater - add_compile_options(-bigobj -Zm316) + # Generate symbols at every build target, even for the release. + add_compile_options(-bigobj -Zm316 /Zi) endif () # Display and check CMAKE_PREFIX_PATH |