I am using CMake to build a project. I want to execute some script(say python script) after CMake is done generating the solution so that I won't have to execute it manually everytime. I am using Cmake 2.8. Does anybody know any userhook or something which Cmake provides for this purpose?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
If you want to execute a command during CMake's build then use execute_process.