MantisBT - CMake
View Issue Details
0010424CMakeCMakepublic2010-03-16 14:022016-06-10 14:31
Daniel Richard G. 
Bill Hoffman 
normalfeatureN/A
closedmoved 
CMake-2-8 
 
0010424: Need more control over "make clean" files
I know about the ADDITIONAL_MAKE_CLEAN_FILES directory property, but this is lacking in at least two respects:

1. Wildcard patterns cannot be specified. Specifying e.g. "*.tmp" causes cmake_clean.cmake to attempt to delete a file named "*.tmp".

2. Filenames with spaces cannot be specified. "foo bar" deletes two files named "foo" and "bar". The set_directory_properties() call is very limiting in that everything has to go in a single argument; you can't give a list, as that runs afoul of the "propN valueN" argument convention. Even s_d_p(A_M_C_F ${list_of_files}) doesn't work.


I would like to see a new call ("clean()"?) that allows specifying a list of filenames/directories with or without wildcards---a counterpart to the CLEANFILES variable in Automake.
No tags attached.
Issue History
2010-03-16 14:02Daniel Richard G.New Issue
2011-01-17 15:40David ColeAssigned To => Bill Hoffman
2011-01-17 15:40David ColeStatusnew => assigned
2016-06-10 14:27Kitware RobotNote Added: 0041669
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0041669)
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.