Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make CMake execute some script after it generates visual studio solution

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?

like image 903
voidMainReturn Avatar asked Jul 18 '12 23:07

voidMainReturn


1 Answers

If you want to execute a command during CMake's build then use execute_process.

like image 120
pb2q Avatar answered Oct 13 '22 14:10

pb2q