Pre/Post compile
Pre-compile commands are executed just before the compilation of a file, while post-compile commands are executed just after the compilation of a file.
To set pre- or post-compile commands, right-click on a file in the Projects view and select Advanced Properties. The Pre/Post Compile command dialog opens.