MantisBT - CMake
View Issue Details
0015114CMakeCMakepublic2014-08-28 04:352016-06-10 14:31
raspy 
Kitware Robot 
normalfeatureN/A
closedmoved 
 
 
0015114: Add possibility to clean only specific target
It would be good if CMake could generate targets on a top level for cleaning specific targets. So if we have a library called 'foo' and an executable called 'bar', we could call something like 'make foo/clean' which would only invoke cleaning procedure for target 'foo', but leave 'bar' untouched.
No tags attached.
Issue History
2014-08-28 04:35raspyNew Issue
2014-08-28 12:22Ben BoeckelNote Added: 0036688
2016-06-10 14:29Kitware RobotNote Added: 0042615
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0036688)
Ben Boeckel   
2014-08-28 12:22   
FWIW, this is already possible with the Ninja generator: `ninja -t clean [target...]`, but that is Ninja's feature, not CMake's doing.
(0042615)
Kitware Robot   
2016-06-10 14:29   
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.