Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2019-05-13 20:31:20 +0300
committerbubnikv <bubnikv@gmail.com>2019-05-13 20:31:20 +0300
commitcebb814a56b480e6c8fb8c05cded5896cc155487 (patch)
tree28c7bf193e871a5ade7040f636a3b36b84be7566 /CMakeLists.txt
parent03ab6aedad4f7d3ccd3d26b87b905445594cc8f0 (diff)
Generate debug symbols for Windows builds even in Release mode.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
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