Can I change the name of the compiled exe file and the output folder by Delphi source code. I know I can change that by editing of the "project Settings" by hand. I want to compile dunit testcases and whenever i use the GUItestrunner, I prefer a different outputfolder and exe file Name
{$ifdef guitestrunner}
CONST
exename = ......
exeoutfolder = ....
{$else}
....
{$ifend}
If i can get a solution for this problem. Any chance to create/compile both executables with ONE mouse click ?
Can I change the name of the compiled exe file and the output folder by Delphi source code.
No you cannot. The output file name is determined by the name of the .dpr file.
Some options:
My final piece of advice though is to learn how to script your builds. That will free you from the constraints of the IDE. You'll be able to automate repeatable build procedures and avoid the human mistakes that are made when operating a UI to perform repetitive tasks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With