The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13020 ====================================================================== Reported By: Petr Kmoch Assigned To: ====================================================================== Project: CMake Issue ID: 13020 Category: CMake Reproducibility: N/A Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2012-03-06 16:44 CET Last Modified: 2012-03-06 16:44 CET ====================================================================== Summary: Custom commands after generation Description: In multiple situations, I have run into a need to perform some processing after CMake finishes generating the buildsystem (e.g. need to post-process the generated .sln file). Could perhaps add_custom_command() be expanded to allow a third form, like this? <pre>add_custom_command(POST_GENERATION COMMAND command1 [ARGS] [args1...] [COMMAND command2 [ARGS] [args2...] ...] [WORKING_DIRECTORY dir] [VERBATIM])</pre> It's not enough to have a wrapper script around CMake, as this doesn't get run when CMake re-runs automatically during build because a CMakeList changed. ======================================================================
Issue History Date Modified Username Field Change ====================================================================== 2012-03-06 16:44 Petr Kmoch New Issue ====================================================================== -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers