[Omake] depending on the contents of a directory

Aleksey Nogin anogin at hrl.com
Fri Aug 31 17:16:09 PDT 2007


On 26.08.2007 08:32, Mike Furr wrote:

>  I also tried adding a regular
> dependency on $(TEST_DIR), but this didn't seem to work (but seems like 
> the most likely candidate to have these semantics, since directories are 
> just files).  Is there a way to achieve this?

Well, OMake currently intentionally ignores directory contents - so an 
explicit dependency on a directory will only cause the directory to be 
built (so you can create a dependency on a directory that needs to be 
created first), but such a dependency would never cause a file to be 
rebuilt.

I've filed an RFE http://bugzilla.metaprl.org/show_bug.cgi?id=692 asking 
for an ability to override this.

Aleksey

-- 
Aleksey Nogin, Research Scientist
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA


More information about the Omake mailing list