Make Debug mode a build-time option instead of a hardcoded value

This commit is contained in:
Arjen Hiemstra 2016-12-15 16:45:28 +01:00
parent c7a8ffb3c0
commit 2e894477c8
3 changed files with 9 additions and 5 deletions

View file

@ -2,4 +2,5 @@
# Cura is released under the terms of the AGPLv3 or higher.
CuraVersion = "@CURA_VERSION@"
CuraBuildType = "@CURA_BUILDTYPE@"
CuraBuildType = "@CURA_BUILDTYPE@"
CuraDebugMode = True if "@CURA_DEBUGMODE@" == "ON" else False