Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Minor bugs-fixed.

<< < (2/2)

mmkider:

--- Quote from: MortenMacFly on May 27, 2009, 09:03:34 am ---
--- Quote from: mmkider on May 27, 2009, 03:14:50 am ---       1.  Path of generated files always keep $file_dir  in the   generated files (to be further compiled) windows.

--- End quote ---
I would love to apply that one (the other one I have already applied in my local copy), but I don't understand. Can you try to explain differently / in other words / with an example, please?!

--- End quote ---
I try explain this.
If I have a special file(test.bin) in the $(PROJECT_DIR)/Special/.
And I keyin some thing in advanced compiler option, see pic.
In this code.

--- Code: ----                wxString tmps = tmp.GetFullPath();

--- End code ---
I alway get auto-generated/Special/test.o.

In this follow code.

--- Code: ---+                wxString tmps = tmp.GetFullName();

--- End code ---
I can get auto-generated/test.o.
I think this is correct result, because I only keyin $file_name.o not $file_dir/$file_name.o in the generated files window.

I hope you can understand my mind  in my poor english. :lol:


[attachment deleted by admin]

mmkider:
Lost initial variable.

--- Code: ---Index: cbtool.h
===================================================================
--- cbtool.h (revision 5651)
+++ cbtool.h (working copy)
@@ -21,7 +21,7 @@
         LAUNCH_VISIBLE_DETACHED
     };
 
-    cbTool() { m_MenuId = -1; }
+    cbTool() { m_LaunchOption=LAUNCH_NEW_CONSOLE_WINDOW;m_MenuId = -1; }
     // getters
     wxString GetName() const {return m_Name;}
     wxString GetCommand() const {return m_Command;}

--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version