2011/2/8 Clinton Stimpson <clin...@elemtech.com>:
>>
>> I also saw that warning with this example (there's nothing in this example
>> about a MONOLITHIC install):
>>
>> cmake_minimum_required(VERSION 2.8)
>> project(hello)
>> install(CODE "message(installing...)" COMPONENT Hello)
>> set(CPACK_COMPONENTS_ALL Hello)
>> set(CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE 1)
>> set(CPACK_ARCHIVE_COMPONENT_INSTALL 1)
>> include(CPack)
>>
>> $ cpack -G TGZ
>>
>> Why is it a warning if no groups are defined?  Is it because one should use
>> groups?
>> However, I can suppress that warning with
>> set(CPACK_COMPONENTS_IGNORE_GROUPS 1)
>
> Oh sorry..  This isn't related...
> Anyway, I was seeing a different warning:
> CPack Warning: [TGZ] Some Components defined but NO component group: Ignoring
> component group.

Ok good.
I tried my best to generate warning about possible misuse of component setttings
However I did not include a way to turn those warnings OFF I'll try to do it
before 2.8.5, just in case I did "over-warn".

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.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

Reply via email to