On 21.07.2016 17:32, Brad King wrote:
On 07/21/2016 10:45 AM, Nils Gladitz wrote:
I amended the commit message and added the otherwise missing release note.
Thanks.  Currently the release note is:

+* The CPack WIX generator now supports CPACK_COMPONENT_<COMPONENT>_DISABLED.
+  This can be used to deselect a component from being installed by default.
However, that option is not publicly documented as a variable for projects
to set.  Instead it is the internal representation of the `DISABLED` option
to `cpack_add_component`.  Please revise the commit message to reference
this command (as :command:`cpack_add_component`).

From CPack's point of view the CPACK_* variables are the public interface.
cpack_add_component() (and CPackComponent.cmake) are only involved when you use cmake to generate the cpack configuration.

So perhaps the variable should be documented instead?

CPACK_COMPONENT_<COMPONENT>_DISABLED being undocumented might be an oversight to begin with given that e.g. "CPACK_COMPONENT_<compName>_REQUIRED" is documented (also settable through cpack_add_component()).

Nils
--

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-developers

Reply via email to