MantisBT - CMake
View Issue Details
0005862CMakeCMakepublic2007-10-10 16:012016-06-10 14:30
Aleksandar Samardzic 
Brad King 
normalfeaturealways
closedmoved 
 
 
0005862: allow make install/uninstall in a project with sub-projects
See attached example: Let's say we have 2 projects (see src/foo/CMakeLists.txt and src/bar/CMakeLists.txt), that are made parts of top-level project (see src/CMakeLists.txt). Futher, I've added support for "make uninstall" target to each of these 3 projects following suggestions from CMake FAQ (Q: Can I do "make uninstall" with CMake?). However, it's still not possible to build top-level project, and accomplish "make install" from there, and then go to say "foo" sub-project build directory and issue "make uninstall" there in order to un-install only files specified to be installed by "foo" project.

So, the idea could be to have CMake to create a makefile that would in turn build "install_manifest.txt" files in each sub-project directory during "make install" step in top-level directory, and then to utilize this later during "make uninstall" step.
No tags attached.
tgz foobar.tgz (1,056) 2007-10-10 16:01
https://public.kitware.com/Bug/file/1177/foobar.tgz
Issue History
2007-10-10 16:01Aleksandar SamardzicNew Issue
2007-10-10 16:01Aleksandar SamardzicFile Added: foobar.tgz
2007-10-12 09:36Bill HoffmanStatusnew => assigned
2007-10-12 09:36Bill HoffmanAssigned To => Brad King
2012-08-13 10:36Brad KingStatusassigned => backlog
2012-08-13 10:36Brad KingNote Added: 0030505
2016-06-10 14:27Kitware RobotNote Added: 0041392
2016-06-10 14:27Kitware RobotStatusbacklog => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0030505)
Brad King   
2012-08-13 10:36   
Sending issues I'm not actively working on to the backlog to await someone with time for them.

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 or contributor who has the bandwidth to take it on.
(0041392)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.