MantisBT - CMake
View Issue Details
0005943CMakeCMakepublic2007-10-24 07:382014-06-02 08:37
Alexander Camek 
Bill Hoffman 
normalfeatureN/A
closedno change required 
 
 
0005943: cmake -E command should be improved with more commands
Often you need some basic commands.
But you can't use other commands, e.g. FILE(), because the source file you generate will be used or have been generated during your build process.

So for simply file manipulation the user should be able to do this by using a cmake -E command as it can be done now.
But at the moment the cmake -E commands are a small subset of usefull commands. In order to make cmake more powerfull, cmake -E should support following commands:

1. move: To move a file from one point to an other. If some output will be generated during build only for information (e.g with third party things) and it will harm the build, then it will be usefull to move the file to an other destination.
2. rename: sometimes it is usefull to rename a file. (can be done also by a copy + move)
3. prepend and append: Usefull to add before and after a file some text description. E.g. you need a licence or you want to generate a file with the information: This file is generated. Do not edit!. Then this information could be added.
No tags attached.
Issue History
2007-10-24 07:38Alexander CamekNew Issue
2007-12-17 12:15Bill HoffmanStatusnew => assigned
2007-12-17 12:15Bill HoffmanAssigned To => Bill Hoffman
2010-03-12 02:47Alexander CamekNote Added: 0019852
2013-11-02 10:25Stephen KellyStatusassigned => resolved
2013-11-02 10:25Stephen KellyResolutionopen => no change required
2014-06-02 08:37Robert MaynardNote Added: 0035989
2014-06-02 08:37Robert MaynardStatusresolved => closed

Notes
(0019852)
Alexander Camek   
2010-03-12 02:47   
Is no longer needed.
Can be closed
(0035989)
Robert Maynard   
2014-06-02 08:37   
Closing resolved issues that have not been updated in more than 4 months.