🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.commandlinetools
1 messages
1 total messages Started by Jim C Wed, 31 Jan 2007 22:06
Compile package with relative paths in contains section
#41
Author: Jim C
Date: Wed, 31 Jan 2007 22:06
34 lines
2447 bytes
My apologies if this is a duplicate post, I don't see my original..



I'm using Delphi 2006.  My package is in a folder with the components
that are part of the package in sub folders:
mypackage
    components1
    components2
    components3

The contains section looks like:
contains
    component1 in 'components1\component1.pas',
    component2 in 'components2\component2.pas',
    component3 in 'components3\component3.pas;

This compiles and installs fine in the IDE.  Now I have two versions
of this package which I'd like to use with two different versions of a
win32 project.  I'm trying to find a way to switch back and forth
between the two packages being active in the IDE.  The two packages
have the same name and contain mostly the same components with some
changes to support two different versions of the projects they're part
of.  So not finding anything else that works, I'm trying to set up a
scenario where I shut down Delphi, then run a batch file to switch to
compile and switch to the right package.  The compile would be done by
dcc32.exe if I could get it to work.  I have been trying many
different options and paths in the .cfg file and haven't got anything
working yet.  I can provide details from the cfg file if needed.

Anybody done this before?

Thanks,
Jim
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads