PDA

View Full Version : Make command 'make' do some action after compiling! (Not during 'make install')



hakermania
15th December 2010, 13:06
I want after the compilation of my program, the executable to be automatically renamed. I know that I can edit the .pro file in order to tell it do some action during the 'make install' action. Now, i want it to do some action after finished compiling it. Is this possible?

Thx in advance! =)

tbscope
15th December 2010, 13:20
Of course, but it depends where you want to change it.

In Qt Creator I think it is possible to add custom make steps.
If you use the command line, you can create a script that runs make, your custom commands and then make install.
You can also manually or the .pro file change the Makefile