> > From: pietro > > > > I would like to know how and were to implement different setup for the > > compiler and other stuff, to add/remove debug infos etc to the final > > .exe > > > > ----- Original Message ----- > > From: Jeremy Grand > > > > Pietro, take a look at Project/Options/Compiler. > > don't forget to run build on the entire project with every changes to > compiler-options. > > while we are on the subject, > I really admire the simplicity of C language's makefile, > in such that we can build debug and release executable in a single compile. > I wonder if it is available on Delphi-X ( I forgot the name ;) ) ? > ------------ > FIreHAzaR:-D > West Java, Indonesia >
Since all settings can be adjusted using inline compiler directives it is quite simple to set a user diective to set the compiler to the state that you want. This is normally done using an include file used in every unit example {Define DebugBuild) {IfDef DebugBuild} //set debug switches {$Else} //unset debug switches {$EndIf} Mick