[Scons-users] Second build of target omitting source file from compiler invocation on Windows

Dirk Bächle tshortik at gmx.de
Fri Mar 7 15:27:56 EST 2014


On 07.03.2014 21:19, Andrew C. Morrow wrote:

>

>

>

> On Fri, Mar 7, 2014 at 2:54 PM, Dirk Bächle <tshortik at gmx.de

> <mailto:tshortik at gmx.de>> wrote:

>

> Hi Andrew,

>

>

>

> here a first few ideas:

>

> - Is the name of the source file in question really all lowercase

> (or are there uppercase chars inside)?

>

>

> All lower case:

> https://github.com/mongodb/mongo-cxx-driver/blob/legacy/src/mongo/client/include_dbclienth_test.cpp

>

> - Can you check what happens when you do the same build in the

> source tree, so with no variant_dir set?

>

> - Looks like you are using "duplicate=0" for your variant dirs.

> What happens when you set "duplicate=1"?

>

>

> Unfortunately the surrounding build system appears to have baked in

> assumptions about the existence of a variant directory and its

> non-duplicated nature, so this isn't so easy to test in isolation.

>

> I'll see what I can do.

>

> Any other angles to pursue while I work on the above?

>

Just thought of another test:

- What happens when you specify the resulting OBJ file as target
explicitly on both calls (the first and the second)? Does the command
line change, or is it correct then?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140307/b0b39b50/attachment.htm


More information about the Scons-users mailing list