From a36f245f379afd6d100b5bbb4fff09620b8030bb Mon Sep 17 00:00:00 2001 From: Thraix Date: Sun, 1 Mar 2020 21:02:59 +0100 Subject: [PATCH] Remove default debugging flags from Makefile --- Makefile | 4 ++-- makegen.xml | 6 ++++-- src/Common.h | 2 +- src/Makefile.cpp | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index ea1b320..8318e29 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# This Makefile was generated using MakeGen v1.3.2 made by Tim HÃ¥kansson +# This Makefile was generated using MakeGen v1.3.3 made by Tim HÃ¥kansson # and is licensed under MIT. Full source of the project can be found at # https://github.com/Thraix/MakeGen CC=@g++ @@ -8,7 +8,7 @@ BIN=bin/ OBJPATH=$(BIN)intermediates INCLUDES= OBJECTS=$(OBJPATH)/ConfigCLI.o $(OBJPATH)/ConfigFile.o $(OBJPATH)/HFileGen.o $(OBJPATH)/IncludeDeps.o $(OBJPATH)/Makefile.o $(OBJPATH)/Utils.o $(OBJPATH)/ConfigFileConf.o $(OBJPATH)/main.o $(OBJPATH)/XML.o $(OBJPATH)/XMLObject.o -CFLAGS=$(INCLUDES) -std=c++17 -c -w -g3 +CFLAGS=$(INCLUDES) -std=c++17 -c -D_DEBUG -g3 -w LIBDIR= LDFLAGS= LIBS=$(LIBDIR) diff --git a/makegen.xml b/makegen.xml index 5ade169..e9b7ec8 100644 --- a/makegen.xml +++ b/makegen.xml @@ -10,6 +10,8 @@ _DEBUG + -g3 + -w false MakeGen.h bin/ @@ -18,6 +20,6 @@ MakeGen src/ - Release - v1.3.2 + Debug + v1.3.3 diff --git a/src/Common.h b/src/Common.h index ec38b5e..2bdde24 100755 --- a/src/Common.h +++ b/src/Common.h @@ -12,7 +12,7 @@ // Release, should be backwards compatible with any minor version #define MAKEGEN_VERSION_RELEASE 3 // Minor changes, generally bug fixes -#define MAKEGEN_VERSION_MINOR 2 +#define MAKEGEN_VERSION_MINOR 3 #define MAKEGEN_VERSION ("v" STR(MAKEGEN_VERSION_MAJOR) "." STR(MAKEGEN_VERSION_RELEASE) "." STR(MAKEGEN_VERSION_MINOR)) diff --git a/src/Makefile.cpp b/src/Makefile.cpp index 6fb8ff0..e6fc699 100755 --- a/src/Makefile.cpp +++ b/src/Makefile.cpp @@ -51,11 +51,11 @@ void Makefile::Save(ConfigFile& conf, unsigned int flags) outputFile << std::endl; if(outputtype == "executable" || outputtype != "sharedlibrary") { - outputFile << "CFLAGS=$(INCLUDES) -std=c++17 -c -w -g3 "; + outputFile << "CFLAGS=$(INCLUDES) -std=c++17 -c "; } else { - outputFile << "CFLAGS=$(INCLUDES) -fPIC -std=c++17 -c -w -g3 "; + outputFile << "CFLAGS=$(INCLUDES) -fPIC -std=c++17 -c "; } std::vector& defines = conf.GetSettingVectorString(ConfigSetting::Define); for(auto it = defines.begin(); it != defines.end(); ++it)