Subject Re: [IBO] Problems when manually compiling build 2067
Author Salvatore Besso
hello Jason,

> can you compare...

of course. My switches and directives are:

[Extract begin]
set debug_compiler_directives=-B -K$400000
set release_compiler_directives=-B -K$400000
if defined unitscopenames (
set debug_compiler_directives=%debug_compiler_directives% -NS%unitscopenames%
set release_compiler_directives=%release_compiler_directives% -NS%unitscopenames%
)
set debug_compiler_switches=-$C- -$D+ -$L+ -$O- -$W+ -$Y+
set release_compiler_switches=-$C- -$D- -$L- -$O+ -$W- -$Y-
[Extract end]

the debug command line:

"%compiler%" %debug_compiler_directives% %debug_compiler_switches% -I"%includepaths%" -U"%debugpaths%"
-R"%resourcepaths%" -N"%debugdir%" -LE"%debugdir%" -LN"%debugdir%" %1 >"%logdir%\%logname%"

the release command line:

"%compiler%" %release_compiler_directives% %release_compiler_switches% -I"%includepaths%" -U"%releasepaths%"
-R"%resourcepaths%" -N"%releasedir%" -LE"%bpldir%" -LN"%releasedir%" %1 >"%logdir%\%logname%"

%1 is the built package name (with full path), depending on IDE version.

> Are you using your own package files as well?

No, I'm using yours, ignoring the .dproj files.

WOW! Batch file programming is far more complicated (and undocumented) than Delphi itself!

Regards
Salvatore