Article View: borland.public.delphi.commandlinetools
Article #103Re: How to best use a modified version of a package file for the "release" build?
From: Thomas Mueller
Date: Wed, 14 Dec 2005 08:39
Date: Wed, 14 Dec 2005 08:39
27 lines
1924 bytes
1924 bytes
Hi,
Stephan wrote:
> Let's say I'm using a run time package file MyPackageRT.dpk during IDE
> development of my component package.
> To build the release version, I'm using dcc32 with (Gnu) Makefiles.
> Since MyPackageRT.dpk contains conditionals like {$DEFINE DEVELOP}, I
> need to modify this for the release version, e.g. changing it to
> {$DEFINE RELEASE}.
You do know that you can define symbols via commandline in the call to
dcc32? I think that's the easiest solution to this particular problem.
> But when I do this via my Makefile, creating a MyPackageRT_final.dpk
> from MyPackageRT.dpk, then a call to
> dcc32 [options...] MyPackageRT_final.dpk
> creates
> MyPackageRT_final.bpl etc., same for a design time package
> MyPackageDT_final.bpl. What I want is the bpl file to still be called
> MyPackageRT.bpl.
Hm, I seem to recall that the output filename is not the filename but the
name behind "package", but I am not sure.
twm
Technical Details
Message-ID:
<439fd9bf@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<439eaf62$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,60dac9199e5118b5 X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <439fd9bf@newsgroups.borland.com> From: Thomas Mueller <spam@dummzeuch.de> Subject: Re: How to best use a modified version of a package file for the "release" build? Newsgroups: borland.public.delphi.commandlinetools Date: Wed, 14 Dec 2005 09:39:04 +0100 References: <439eaf62$1@newsgroups.borland.com> Lines: 28 User-Agent: KNode/0.9.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit NNTP-Posting-Host: 84.63.31.97 X-Trace: newsgroups.borland.com 1134549439 84.63.31.97 (14 Dec 2005 00:37:19 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail