|
From: | Gary Oberbrunner |
Subject: | Re: How do I inhibit the copying of the source files to the build tree |
Date: | Fri, 15 Mar 2002 10:08:01 -0500 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.8) Gecko/20020204 |
The original reason for copying/linking the source into the build tree, IIRC, was so that if you have a Cons-generated .h file (for instance) then it will be found properly by just #include "foo.h", whereas otherwise you'd have to generate the .h file into the *source* dir rather than the build dir, which would get ugly. A small thing to be sure, but it has made my life easier on more than one occasion. P
But as far as I can tell, it should be easy to just write new CCCOM etc. rules to do what you want, right? Just stop using Link, and make your CCCOM (and all the rest) use -o%BUILDDIR%/%> or whatever you want (and make BUILDDIR contain your variant name). Cons doesn't prevent this at all.
Anthony Kolarik wrote:
I've never found an easy way to get parallel trees that contain _only_ intermediate and final product files. And I think it would be great if you could.
-- Gary Oberbrunner
[Prev in Thread] | Current Thread | [Next in Thread] |