Patch #2863 2009-12-20 16:39

techy

[Trivial] Variable name description for custom makefile
Download
2863-Trivial_Variab.patch (870 bytes)
Category
Application::Refinement
Status
Accepted
Close date
2009-12-31 14:44
Assigned to
mortenmacfly
Index: src/plugins/compilergcc/resources/compiler_options.xrc
===================================================================
--- src/plugins/compilergcc/resources/compiler_options.xrc    (revision 5986)
+++ src/plugins/compilergcc/resources/compiler_options.xrc    (working copy)
@@ -1056,7 +1056,7 @@
                                                 </object>
                                                 <object class="sizeritem">
                                                     <object class="wxStaticText" name="ID_STATICTEXT22">
-                                                        <label>Known variables: $$make, $$makefile, $$target, $$file</label>
+                                                        <label>Known variables: $$make, $$makefile, $$target, $$file and all macro variables</label>
                                                         <fg>#800000</fg>
                                                     </object>
                                                     <flag>wxLEFT|wxRIGHT|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP</flag>
@@ -1346,4 +1346,4 @@
             </object>
         </object>
     </object>
-</resource>
\ No newline at end of file
+</resource>
techy 2009-12-20 16:39

(I took a new approach - instead of being dissatisfied with how codeblocks works, I decided to take a note every time I run into a bug and fix it if it's easy to do. This is the first patch from this series of bugfixes.)

Let the user know hat he can also use macros in custom makefile dialog - this is not obvious and I found it only after looking at the sources. This is extremely useful for custom makefiles so users should be informed about it.