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] Thu, 05 February 2009 20:28 Go to next message
Matthew Nichols is currently offline Matthew Nichols
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 01:14 Go to previous messageGo to next message
Andrew Wiles is currently offline Andrew Wiles
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 15:40 Go to previous message
Scott Bell is currently offline Scott Bell
Messages: 5
Registered: July 2009
Junior Member
This still doesn't work in Juno.
Previous Topic:Copy files from source to build directory as part of compilation.
Next Topic:Empty build_files variable
Goto Forum:
  


Current Time: Thu Jul 24 02:27:47 EDT 2014

Powered by FUDForum. Page generated in 0.01890 seconds