I'm working on converting a small project from autotools to cmake and one of the final nit-pick issues is that the version of the software is defined in a file, version.h as #defines.
I haven't been able to find the magic incantation of file(READ..., string(REGEX MATCH... to parse the version numbers. I did request that the version be managed within the cmake config but that was not accepted. The meaningful entries in version.h are: #define FREEDV_VERISON_MAJOR "0" #define FREEDV_VERSION_MINOR "96" #define FREEDV_VERSION_PATCH "3" #define FREEDV_VERSION_SUFFIX "Beta" Any hints would be appreciated. Thanks, Richard
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
