Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Managed Build Includes
Managed Build Includes [message #154625] Sun, 18 September 2005 02:29 Go to next message
Eclipse UserFriend
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 #154634 is a reply to message #154625] Mon, 19 September 2005 02:23 Go to previous messageGo to next message
Eclipse UserFriend
> Ideally, I'd like it to use the INCLUDE environment variable like msvc does,

Entering ${INCLUDE}/rest-of-the-path worked for me.


Norbert
Re: Managed Build Includes [message #154641 is a reply to message #154634] Mon, 19 September 2005 03:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fireonyoursleeve.hotmail.com

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
Re: Managed Build Includes [message #154671 is a reply to message #154641] Mon, 19 September 2005 19:50 Go to previous message
Eclipse UserFriend
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
Previous Topic:printing disabled?
Next Topic:CDT perspective not showing after install
Goto Forum:
  


Current Time: Tue Jul 15 00:12:24 EDT 2025

Powered by FUDForum. Page generated in 0.04823 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top