[CMake] FILE command in make_custom_target
Alexander Neundorf
a.neundorf-work at gmx.net
Wed Jun 20 08:24:54 EDT 2007
On Tuesday 19 June 2007 17:52, Brandon Van Every wrote:
> On 6/19/07, Philippe Fremy <phil at freehackers.org> wrote:
> > It is ironic that a running cmake instance, that supports platform
> > agnostic directory creation, is not able to do that inside a rule and
> > has to fallback an calling a second cmake instance for that.
...
> You could formulate a feature request in the bug tracker, or see if a
> related one already exists.
Yes, there is already one.
If somebody finds the time it should be possible support cmake commands in
add_custom_command() by automatically creating a cmake script file with the
given commands and then put cmake -P that_file.cmake in the build files.
Alex
More information about the CMake
mailing list