2009/5/13 Brandon Olivares <programmer2...@gmail.com>: > Hi, > > I was looking at the list of CPack variables. There are variables to set the > major, minor, and patch version numbers. But isn't there anything to set a > beta or alpha number? > > For instance, what if I wanted a 1.0B1 version?
SET(CPACK_PACKAGE_VERSION_MAJOR "1") SET(CPACK_PACKAGE_VERSION_MINOR "0B1") SET(CPACK_PACKAGE_VERSION_PATCH "") Those 3 are used to build the CPACK_PACKAGE_VERSION thus you may overwrite the CPACK_PACKAGE_VERSION alltogether with SET(CPACK_PACKAGE_VERSION "1.0B1"). The CPACK_PACKAGE_VERSION is defined by CPack iff it is not already defined: from CPack.cmake: cpack_set_if_not_set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") -- Erk _______________________________________________ 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