[CMake] Setting CPACK_PACKAGE_FILE_NAME per COMPONENT

Iosif Neitzke iosif.neitzke+cmake at gmail.com
Thu Jan 29 23:24:45 EST 2015


Where for a single run of CPack, each component name produces a
corresponding named .deb file or ...?

Have you tried using CPACK_PROJECT_CONFIG_FILE [0]?  This allows you
to set a few options at packaging time which can change the final
output package file name.

[0] http://www.cmake.org/cmake/help/v3.1/module/CPack.html

On Tue, Jan 27, 2015 at 10:33 AM, Rob Harris <rob.harris at gmail.com> wrote:
> All,
>
> I'm trying to have CPack create filenames in the debian-conformant format
> using my component definitions.
>
> It looks like there was an issue in place to resolve this (0012997) by
> exposing a CPACK_COMPONENT_NAME variable, but it doesn't look like it was
> ever resolved/committed.
>
> Is there another way to solve this problem? R'ing TFM and Googling proved
> fruitless.
>
> Thanks.
> -Rob Harris
>
>
> --
>
> 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


More information about the CMake mailing list