[cmake-developers] Timestamp of VS-generator rule files

Brad King brad.king at kitware.com
Fri Sep 25 08:33:59 EDT 2015


On 09/25/2015 07:45 AM, Mike.Pagel at bmw.de wrote:
> I wrote a small function OutdateFileTime(const std::string& filename)
> which does what it sounds like. It is called by the VS generator right
> after rule file creation with Touch. I wasn't sure whether this function,
> which uses Win32 API should go into the generator code or SystemTools.

Until the functionality is needed elsewhere I see no reason not to just
put it right in the generator implementation.  If a more general purpose
for it is found later it can be refactored over to SystemTools and made
to work on more platforms.  No need for that yet though.

Thanks,
-Brad



More information about the cmake-developers mailing list