MantisBT - CMake
View Issue Details
0012293CMakeCMakepublic2011-06-20 17:252015-07-08 08:57
Stephen Kelly 
Stephen Kelly 
normalfeaturealways
closedduplicate 
 
 
0012293: Installing components should install dependencies
In Grantlee I have a Common component and a Textdocument component and a Templates component.

The Templates and Textdocument components both depend on the Common component.

https://gitorious.org/grantlee/grantlee/blobs/0.1/CMakeLists.txt [^]

When I run

cmake -DCOMPONENT=Templates -P cmake_install.cmake

the Templates COMPONENT is installed, but not the Common component.

Reading the generated cmake_install.cmake file, this dependency installation seems to indeed not be implemented, but it looks possible to implement.

No tags attached.
duplicate of 0004266closed Brad King add "intelligent" install target 
Issue History
2011-06-20 17:25Stephen KellyNew Issue
2011-06-20 17:36Eric NOULARDNote Added: 0026928
2012-08-11 11:38David ColeStatusnew => backlog
2012-08-11 11:38David ColeNote Added: 0030272
2013-11-02 11:36Stephen KellyAssigned To => Stephen Kelly
2013-11-02 11:36Stephen KellyStatusbacklog => assigned
2014-03-27 09:53Stephen KellyAssigned ToStephen Kelly =>
2014-03-27 09:53Stephen KellyStatusassigned => backlog
2015-02-26 13:53Stephen KellyRelationship addedduplicate of 0004266
2015-02-26 13:53Stephen KellyStatusbacklog => resolved
2015-02-26 13:53Stephen KellyResolutionopen => duplicate
2015-02-26 13:53Stephen KellyAssigned To => Stephen Kelly
2015-07-08 08:57Robert MaynardNote Added: 0039068
2015-07-08 08:57Robert MaynardStatusresolved => closed

Notes
(0026928)
Eric NOULARD   
2011-06-20 17:36   
I'm not sure this behaviour would play nice with CPack.
CPack currently relies on the fact may be installed
separately whatever their dependencies.

If it was to be implemented then I suggest some optional toggle like:

cmake -DCOMPONENT=Templates -DWITH_DEPENDENT_COMPONENTS -P cmake_install.cmake
(0030272)
David Cole   
2012-08-11 11:38   
Sending old, never assigned issues to the backlog.

(The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0039068)
Robert Maynard   
2015-07-08 08:57   
Closing resolved issues that have not been updated in more than 4 months.