Add support to execute command after generation phase
Re-opening issues without fix: https://cmake.org/Bug/view.php?id=15725 I need running some modification script on bunch of xcode and MSbuild files (some proprtietary plugin stuff); when I configure form shell, I could just chain shell execution, but using cmake-gui it's not usable.
I'm going to work on branch for this, my suggestion is to add flag to execute_process() command (nice if you could suggest smth easier).
Quote from SO witch is same with my own motivation:
(I am using Visual Studio and there the process works as follows: I hit "Build" -> CMake generates the new .sln-file if there were any changes -> the VS Macro asks me if I want to reload the solution -> I press Yes -> Building the solution starts -> the custom target is executed. If now my command modifies the solution, I have to reload again which I want to avoid. I'd rather modify the solution file during CMake's generation phase.) –