On Mon, 2019-03-11 at 17:59 +0100, Micha Renner wrote:
> In CPack I can add a component with cpack_add_component and describe
> the component with the additional arguments of the macro.
> I can also describe the component if I use the varibales of type
> CPACK_COMPONENT_<compName>_XXX (e.g.
> CPACK_COMPONENT_<compName>_HIDDEN).
> So which one is the right way? Or doesn't matter which way I use.

The cpack_add_component() macro is merely a convenience function to set
the CPACK_COMPONENT_<compName>_XXX variables. You can use either one. I
typically use the macros.

Kyle
-- 

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:
https://cmake.org/mailman/listinfo/cmake

Reply via email to