So I think I found the issue.  When the include directories are specified via 
the network path ( \\machine\dir\ ) vs. a drive letter ( N:\dir ) ninja always 
thinks they are out of date.  This is a pretty big hurdle for us since our 
toolchain files can be mapped to different drives for different users so our 
builds reference the network paths.

This seems like a bug in ninja, but it could also be a problem with the Windows 
APIs used to get the information.  Any thoughts?

-Kris

-----Original Message-----
From: Eric Noulard [mailto:[email protected]]
Sent: Tuesday, August 14, 2012 2:53 PM
To: Malfettone, Kris
Cc: David Cole; [email protected]
Subject: Re: [CMake] Ninja on windows ( latest ninja from git, cmake 2.8.9 )

2012/8/14 Malfettone, Kris <[email protected]>:
> So I found the "-d explain" option of ninja and it says that it thinks
> my boost libraries / other library includes are "dirty".  The only
> think I can think of here is that they are on a network drive and not
> on my local machine.  Any thoughts on that?

If those two machines have time discrepancy (no time synchronization) then the 
file on the network share may appear to be "in the future" of your local file, 
your build tree is local right?

Just try to check the date on the network file server w.r.t. to the time on 
your local machine.
or
copy the file locally and retry.
--
Erk
Le gouvernement représentatif n'est pas la démocratie -- 
http://www.le-message.org

________________________________

IMPORTANT: The information contained in this email and/or its attachments is 
confidential. If you are not the intended recipient, please notify the sender 
immediately by reply and immediately delete this message and all its 
attachments. Any review, use, reproduction, disclosure or dissemination of this 
message or any attachment by an unintended recipient is strictly prohibited. 
Neither this message nor any attachment is intended as or should be construed 
as an offer, solicitation or recommendation to buy or sell any security or 
other financial instrument. Neither the sender, his or her employer nor any of 
their respective affiliates makes any warranties as to the completeness or 
accuracy of any of the information contained herein or that this message or any 
of its attachments is free of viruses.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to