Re: [cmake-developers] Filesystem timestamp checks

2015-10-20 Thread Ben Boeckel
On Tue, Oct 20, 2015 at 04:56:47 +0600, Ruslan Baratov via cmake-developers wrote: > * I don't want to patch every script. To be precise I prefer to "Fix > something in one place so it works 100% and forget about it" then "Every > time I start creating script I should remember that..." The

Re: [cmake-developers] Filesystem timestamp checks

2015-10-20 Thread Ruslan Baratov via cmake-developers
On 21-Oct-15 03:25, Ben Boeckel wrote: On Wed, Oct 21, 2015 at 01:53:42 +0600, Ruslan Baratov wrote: On 20-Oct-15 21:42, Ben Boeckel wrote: On Tue, Oct 20, 2015 at 04:56:47 +0600, Ruslan Baratov via cmake-developers wrote: * I don't want to patch every script. To be precise I prefer to "Fix

Re: [cmake-developers] Filesystem timestamp checks

2015-10-20 Thread Ruslan Baratov via cmake-developers
On 20-Oct-15 21:42, Ben Boeckel wrote: On Tue, Oct 20, 2015 at 04:56:47 +0600, Ruslan Baratov via cmake-developers wrote: * I don't want to patch every script. To be precise I prefer to "Fix something in one place so it works 100% and forget about it" then "Every time I start creating script I

Re: [cmake-developers] Filesystem timestamp checks

2015-10-20 Thread Ben Boeckel
On Wed, Oct 21, 2015 at 01:53:42 +0600, Ruslan Baratov wrote: > On 20-Oct-15 21:42, Ben Boeckel wrote: > > On Tue, Oct 20, 2015 at 04:56:47 +0600, Ruslan Baratov via cmake-developers > > wrote: > >> * I don't want to patch every script. To be precise I prefer to "Fix > >> something in one place

Re: [cmake-developers] Filesystem timestamp checks

2015-10-19 Thread Brad King
On 10/15/2015 03:58 PM, Ruslan Baratov wrote: > 3. Apply changes to CMakeLists.txt "immediately", CMakeLists.txt modification > time 105 > 4. Run rebuild: `cmake --build _builds`. Since CMakeLists.txt (105) is not > "newer" > then Makefile (105) there will be no regenerate command run and

Re: [cmake-developers] Filesystem timestamp checks

2015-10-19 Thread Ruslan Baratov via cmake-developers
On 19-Oct-15 19:30, Brad King wrote: On 10/15/2015 03:58 PM, Ruslan Baratov wrote: 3. Apply changes to CMakeLists.txt "immediately", CMakeLists.txt modification time 105 4. Run rebuild: `cmake --build _builds`. Since CMakeLists.txt (105) is not "newer" then Makefile (105) there will be no

Re: [cmake-developers] Filesystem timestamp checks

2015-10-15 Thread Ben Boeckel
On Thu, Oct 15, 2015 at 22:58:29 +0300, Ruslan Baratov via cmake-developers wrote: > Test: https://github.com/forexample/date-resolution-test > Log: https://travis-ci.org/forexample/date-resolution-test/builds/85021483 > Any other ideas? I patched make locally to output the mtimes used when it

[cmake-developers] Filesystem timestamp checks

2015-10-15 Thread Ruslan Baratov via cmake-developers
Originally from: https://cmake.org/Bug/view.php?id=15769 Here is the scenario of not triggering rebuild of project while CMakeLists.txt changed: 1. Create CMakeLists.txt (modification time 100 units) 2. Run generate (create project from scratch): `cmake -H. -B_builds`. Takes 5 units, Makefile