There is no spoon
There is no spoon

Reputation: 1796

Delphi .cfg file Paths

Hi the path list in my project CFG file is too long, how can i define a path shortcut like $(BDS) Thank you

Upvotes: 2

Views: 1370

Answers (1)

Sertac Akyuz
Sertac Akyuz

Reputation: 54812

'Options' dialog -> 'Environment Options' -> 'Environment Variables'. This page has a section 'User overrides'. That's where you define your shortcut. You can use a fully qualified path or the already defined '$(BDS)' for variable value. Example:

Variable  Value
CGR       $(BDS)\..\..
THR       S:\Dev\Codegear\3rd

Later in the library paths use them like $(THR)\JVCL\....

Upvotes: 9

Related Questions