Patch #3182 2011-07-09 12:02

michalp

Fixed output filename of build target bug
Download
3182-Fixed_output_f.patch (564 bytes)
Category
Application::Bugfix
Status
Postponed
Close date
2011-08-13 09:19
Assigned to
mortenmacfly
Index: compiletargetbase.cpp
===================================================================
--- compiletargetbase.cpp    (revision 7281)
+++ compiletargetbase.cpp    (working copy)
@@ -239,6 +239,14 @@
         return;
 
     wxFileName fname(filename);
+
+    // extension is part of file name
+    if (m_ExtensionGenerationPolicy != tgfpNone)
+    {
+      fname.SetName(fname.GetFullName());
+      fname.ClearExt();
+    }
+
     filename.Clear();
     // path with volume and separator
     filename << fname.GetPath(wxPATH_GET_VOLUME | wxPATH_GET_SEPARATOR);
michalp 2011-07-09 14:21

Patch makes another bug. For example, output file name of static library have .cbp.a extension.

mortenmacfly 2011-08-13 09:19

Any progress on that?