On Thu, Oct 08, 2015 at 13:10:54 +0000, Ryan Pavlik wrote: > One addition I would have liked to have but haven't had time to do yet: the > ability to have a add custom command-based build time generation, instead > of our in addition to the CMake time generation. Some projects take a very > long time to generate, may cause visual studio to needlessly reload project > files, and you may only want the revision for a header file anyway. As you > can imagine, this would share much implementation with the configure time > code, and the prerequisite refactoring is why I haven't gotten around to > doing it yet.
FYI, this is what sprokit's code does (based on sprokit_configure_file[1]). I honestly don't think configure time git information is all that useful anyways, so build-time generation is the only way sprokit does it (and it handles tarball builds just fine too). --Ben [1]https://github.com/Kitware/sprokit/blob/master/conf/sprokit-macro-configure.cmake#L73 -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
