CMake Nightly Date Stamp
CMake Nightly Date Stamp
- Prevent unnecessary rebuilds

Repeated "cmake . && ninja" calls were resulting in rebuilds every time.

Change the test so that it uses "file(WRITE" to generate a ".in" file and
then configure_file to "copy if different" that ".in" file to the final
generated source file.

Now, rebuilds will only occur if there are changes to the generated source
file on "cmake ." runs after the first one.
Merge topic 'fix-out-of-date-CTestTestMemcheck' into next

629037c3 - Prevent unnecessary rebuilds
6313be44 CMake Nightly Date Stamp
2eb158ca CMake Nightly Date Stamp