2012/6/11 Totte Karlsson <[email protected]>:
> Hi,
> How can I suppress version numbers(major, mior, patch in CPACK output on
> windows?
>
> Also, how can one suppress the win32 prefix of the output name.
Currently CPack names the package file using:CPACK_PACKAGE_FILE_NAME
(this does not include the file extension)
so that you can
set(CPACK_PACKAGE_FILE_NAME "whatever")
before
include(CPack)
if you don't CPack provides a default value:
${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}
see:
cpack --help-variable CPACK_PACKAGE_FILE_NAME
--
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
--
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