Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Redirecting Objects output.
jayatk:
Using rev1906...
I'm having a problem getting my .obj files to get placed in the directory I have specified. I set the Objects output dir to the directory to what I want (Objs directory where makefile is), but C::B keeps dumping them into an "Objs" directory where the .cbp file is located. I also set the execution working directory to where the makefile is located. I saved my projects by exiting C::B and restarting...which sometimes doesn't save all my settings, particulary custom make commands.
Here's my project tree
Software
---Products
------EFMSHDSL (.cbp file located here)
--------Objs (C::B putting the objs here)
--------Build
----------App (makefile and execution directory)
------------Objs (want objs here)
----------Boot (another special build)
----------FlashProg (another special build)
Any ideas?
Michael:
Hello,
I have no problem in doing that. I just specifiy the new Obj directory (I use relative path) and after C::B stores the .o files there.
Best wishes,
Michael
jayatk:
Well..I just can't get it to work. I give up. If anyone wants to look at my project file, go ahead. I've worked on this until I'm blue in the face. My last try was to start from scratch and put the cbp file in a separate sub directory under the project. No luck.
Also, the output parsing I could only get the work once. Now, I don't know what's messed up. It still recognizes errors and warnings in the build messages, but it won't open up the file with the error.
I guess it's back to my other editor for while :?
Thanks
[attachment deleted by admin]
takeshimiya:
It could be a bug in the external makefiles handling. There have been some bugs with it lately.
mandrav:
--- Quote from: Takeshi Miya on January 31, 2006, 11:07:02 pm ---It could be a bug in the external makefiles handling. There have been some bugs with it lately.
--- End quote ---
If you 're using external makefiles, C::B has nothing to do with where your makefile puts the object files.
I think we must disable some text boxes that mean nothing in project properties when a makefile is used...
Navigation
[0] Message Index
[#] Next page
Go to full version