From 1be82bfcee73b824b1c70c20789931cbe5e0f360 Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 11 Sep 2012 11:09:39 +0100 Subject: [PATCH] Introjucer: Added a strip option to linux makefile generation --- .../Source/Project Saving/jucer_ProjectExport_Make.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Make.h b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Make.h index 08f472fb3d..227af49f83 100644 --- a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Make.h +++ b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Make.h @@ -282,6 +282,11 @@ private: << "\t-@rm -rf $(OBJDIR)" << newLine << newLine; + out << "strip:" << newLine + << "\t@echo Stripping " << projectName << newLine + << "\t-@strip --strip-unneeded $(OUTDIR)/$(TARGET)" << newLine + << newLine; + for (int i = 0; i < files.size(); ++i) { if (shouldFileBeCompiledByDefault (files.getReference(i)))