Managed Build Includes [message #154625] |
Sun, 18 September 2005 02:29  |
Eclipse User |
|
|
|
Originally posted by: fireonyoursleeve.hotmail.com
With a Managed Make Project, is there a way to add includes that are either
relative to the project, or use environment variables? I'd like to avoid
hardcoded paths since each developer will likely set their project up in a
different directory.
The way I'm currently adding includes is: right click on the project, select
properties, select C/C++ Build. Under GCC C++ Compiler, select Directories.
Click on the little + Add icon. Type in path.
Ideally, I'd like it to use the INCLUDE environment variable like msvc does,
but any alternatives to hardcoding the paths to all our external libraries
would be greatly appreciated.
|
|
|
|
|
Re: Managed Build Includes [message #154671 is a reply to message #154641] |
Mon, 19 September 2005 19:50  |
Eclipse User |
|
|
|
Originally posted by: fireonyoursleeve.hotmail.com
For the sake of closure, if you're windows impaired you can use the
%VAR:\=/% trick to replace backslashes with forwardslashes in environment
variables with batch files. This seems to work great.
"Aaron Leiby" <fireonyoursleeve@hotmail.com> wrote in message
news:dglood$9g9$1@news.eclipse.org...
> That unfortunately appears to strip the environment variable of all its
> backslashes.
>
> C:\Dev\Project becomes C:DevProject. :(
>
> Thanks nonetheless... definitely the right direction.
>
> "Norbert "Pl
|
|
|
Powered by
FUDForum. Page generated in 0.04823 seconds