[CMake] Post-Generate commands
LaViolette, Alan
ALAVIOLETTE at overwatch.textron.com
Wed May 26 13:05:45 EDT 2010
I want to run at the end of cmake. I am generating some additional
files that are more complex then configure can do. But I need the
generated projects and solutions.
-----Original Message-----
From: Alexander Neundorf [mailto:a.neundorf-work at gmx.net]
Sent: Wednesday, May 26, 2010 12:16 PM
To: cmake at cmake.org
Cc: LaViolette, Alan
Subject: Re: [CMake] Post-Generate commands
On Wednesday 26 May 2010, LaViolette, Alan wrote:
> Is it possible to have cmake run a command after all files are
> generated? I want to do some additional build environment setup.
You can use add_custom_command(TARGET your_target POST_BUILD COMMAND
...) to
have commands executed after a target has been built.
Or do you mean at the end of the cmake run ?
What do you want to do ? Please let us know some more details, otherwise
it's
hard to help.
Alex
More information about the CMake
mailing list