[CMake] Rename unspecified component - how?

Eric Noulard eric.noulard at gmail.com
Sat Sep 17 04:42:46 EDT 2011


2011/9/17 Kishore Jonnalagadda <kitts.mailinglists at gmail.com>:
> In my project I am using the default component for all binaries and a "dev"
> component for headers.
>
> But when I create packages, it creates one called "Unspecified" and another
> called dev. How do I rename the unspecified component to be nameless?
>
> Something like myproj.deb and myproj-dev.deb?

In fact I think currently you can't.
or may be yo can try
  set(CPACK_COMPONENT_UNSPECIFIED_DISPLAY_NAME "")
which is not supposed to work but may be it will.

I'll think about it a little there may be other way to do what you want.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list