I think it is possible, you must just let execute the strip.exe after the first compiling, and then also the upx compression. Like this
Compile project /: Project is compiled, but not visible, executes strip on the exe created, executes upx on the exe created, starts the executeble.