Hi folks,

my cmake code reads version tags from the underlying git repository, derives a new version with the help of the existing tags and then sets that new version to the project() call. However, the cmake generate step is not triggered when the version tags in the repository change, so the version that is compiled into the project is not always up-to-date. So I was wondering if CMake offers the possibility to customize the up-to-date check of the generate step, to make it automatically re-run when the tags in the repository are changed?

Thank you for your time.

--

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:
https://cmake.org/mailman/listinfo/cmake

Reply via email to