I have begun playing with the project groups in Delphi 4.02
It is generally practical that the sourcecode directory structure be
different to the directory structure of the installed application.
To this end the source files of separate projects are split into
their own directory trees with the project group saved at the root to this tree.
If I want the application outputs to go into a separate tree denoted as the
APP tree to contain what is essentially a runimage for testing I run into a
problem.
Delphi post interpretes releative paths entered and replaces them with the
absolute path. This means that if I move the root of my tree each projects
options require changing. I've noticed that if possible delphi replaces a
subportion of that absolute path with $(DELPHI) if the tree is in the delphi
installation path. The question is is there a $(PROJECT) (or similar) defined
or can I define my own paths. Is there a better solution to this arrangement.
Example Dir struct
Root\
ProjectGroup.bpg
APP\
Main.exe - output from Main.dpr
API\
DB\ -outputs from the respective dprs
DBORA.DLL
DBPDX.DLL
DBACC.DLL
SRC
Common\
DBDLL_Glue.pas
ORG_Const.pas
MAIN\
Main.dpr & related pas files in sub structure if needed
API\
DBORA\
DBORA.dpr
DBPDX\
DBPDX.dpr
DBACC\
DBACC.dpr
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz