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-w...@gmx.net] 
Sent: Wednesday, May 26, 2010 12:16 PM
To: cmake@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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to