Output to compiler version folder.

skybuck2000 <[email protected]> Sun, 23 Jan 2022 06:20:20 -0800 (PST)
Newsgroups alt.comp.lang.borland-delphi
Message-ID <[email protected]>
I want the dcus outputted to the compiler version they belong, plan is to do this:

Output\RAD Studio <CompilerVersion>\<Platform>\<Config>

I tried using CompilerVersion conditional

as follows:

..\..\..\Output\Applications\Classic Wallet\Builded Executables\$(Platform)\$(Config)\($CompilerVersion)

as a test...

This produces %CompilerVersion% as output insteaf of 20.0

This is a very serious limitations of the Delphi compiler.

This causes the Delphi compiler to overwrite DCUs from other compilers making it hard to work with different delphi compiler versions and wasting a lot of time re-generating files and also causing some conflicts which need to be solved by overwriting files.

This prevents projects/developers from working on different operating systems which require different delphi versions because delphi does only work on the latest operating system for a specific delphi version.

Either fix your IDE so it's compatible and working on all operating systems or include a useable version number for search path usage or even better.

Include compiler version numbers in filenames and/or extensions.

Right now it's a fucking mess as usual.

Bye,
  Skybuck.