Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » build_files Environment Variable
build_files Environment Variable [message #230112] Fri, 06 February 2009 01:28 Go to next message
Matthew Nichols is currently offline Matthew NicholsFriend
Messages: 2
Registered: July 2009
Junior Member
In the description for the build_files environment variable, it says:

Returns the set of absolute file system paths whose modification caused
the current build. A list of the characters, 'a' (added), 'c' (changed),
'r' (removed), 'f' (files only), 'd' (directories only), can be supplied
as an argument to limit the file list to just those types of deltas.
Defaults to all deltas.

I assumed this to mean that if I save a file and Eclipse does an
auto-build, then build_files would be set to the path+name of the file I
just saved. This doesn't seem to be the case as build_files is empty.

My goal is that, when a file is saved, the build process is called in the
directory where the file exists, rather than the root of the project. Any
ideas why the above idea didn't work? Thanks!
Re: build_files Environment Variable [message #850516 is a reply to message #230112] Fri, 20 April 2012 05:14 Go to previous messageGo to next message
Andrew Wiles is currently offline Andrew WilesFriend
Messages: 13
Registered: August 2011
Location: SH
Junior Member
same here
Re: build_files Environment Variable [message #1052868 is a reply to message #850516] Tue, 30 April 2013 19:40 Go to previous message
Scott Bell is currently offline Scott BellFriend
Messages: 5
Registered: July 2009
Junior Member
This still doesn't work in Juno.
Previous Topic:context sensitive editor for new language.
Next Topic:Empty build_files variable
Goto Forum:
  


Current Time: Thu Apr 25 23:03:25 GMT 2024

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

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

Back to the top