Change the Build Directory with Managed Build [message #688863] |
Sat, 25 June 2011 22:07  |
Eclipse User |
|
|
|
Hello.
I have a directory tree like the following:
/Project
/src
main.cpp
Class1.cpp
...
/bin
/Debug
Project (Executable)
src/
main.o
Class1.o
...
/lib
My source files are in /src, and I am using Eclipse "Internal Builder" to compile on Ubuntu Linux 11.04. It's working well, except that, as you can see in the above tree, my build places the build artifacts into /Project/Debug (assuming I am using the Debug configuration). What I would like is for the builder to place the build artifacts in /bin/Debug. So, I want my project tree to look like:
/Project
/src
main.cpp
Class1.cpp
...
/bin
/Debug
Project (Executable)
src/
main.o
Class1.o
...
/lib
I can't seem to figure out how to do this with the internal builder. I could, of course, switch to the external builder, but then, unless I'm mistaken, I'd have to constantly be updating my Makefiles whenever I add a source file or a library, etc... So, I'd prefer not to do this (I really like how Eclipse handles everything for me).
We're just starting what is going to be a fairly large project, and the benefits of Eclipse keeping track of the source files, rather than me having to remember to edit Makefiles (along with the Makefiles not cluttering up my source tree) is a huge boon.
Thanks for any insight you can provide.
~Scott
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03024 seconds