[cmake-developers] [DISCUSSION] Using COMPONENTs for CMake install(...)?

Konstantin Podsvirov konstantin at podsvirov.pro
Tue Dec 9 13:39:21 EST 2014


08.12.2014, 17:26, "Brad King" <brad.king at kitware.com>:
> On 12/07/2014 05:34 PM, Konstantin Podsvirov wrote:
>> Well, work has started!
> Good work so far.

I tried :-)

> Please reorganize the commits to have the first one add the install
> COMPONENT options and the second one add the CPack configuration.
>> Added components:
>> - cmake
>> - ctest
>> - cpack
>> - cmake-gui
>> - ccmake
>> - data
>> - sphinx-html
>> - sphinx-singlehtml
>> - sphinx-qthelp
> That looks good, except that "cmake/ctest/cpack" must all be in
> one component. Each of those three binaries has logic that assumes
> the other two exist.

This ground for discussion. By default CPack generators must create one package for each component group.
In addition, you can specify whether the component is required and can be specified as any of the components referenced by this component.

> There should also be a "sphinx-man group for the man pages.

It is not difficult. I will add.
I want to clarify: sphinx-man is the documentation that must be installed together with tools in Linux?

> Thanks,
> -Brad

What other components can be identified?

I already wrote about this, but where can I get NAME and DESCRIPTION for each component? (something you can find in sphinx documentation, but this is not all). I have some difficulties with the English language and help here would be appropriate.

I'm working on a graphical installer (CPack IFW generator), which can install CMake on Windows, Linux and Mac in graphics mode.
Graphical installer allows you to acquaint the user with the structure of CMake in the installation process. The installer
may include optional components.

It is possible to create online installers, where all or some of the components are downloaded and installed as needed.

Regards,
Konstantin Podsvirov


More information about the cmake-developers mailing list