Article View: borland.public.delphi.commandlinetools
Article #105Re: How to best use a modified version of a package file for the "release" build?
From: Thomas Mueller
Date: Fri, 16 Dec 2005 10:05
Date: Fri, 16 Dec 2005 10:05
18 lines
1383 bytes
1383 bytes
Hi Stephan,
Stephan wrote:
>> You do know that you can define symbols via commandline in the call to
>> dcc32?
> I do, but I would also need to *undefine* symbols (like {$DEFINE
> DEVELOP}), which are set in the dpk file. Is that possible too?
No, but that can easily be done in the dpk file itself (or better: in an
include file):
{$ifdef RELEASE}
{$undef DEVELOP}
{$endif}
twm
Technical Details
Message-ID:
<43a29104@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.spamkiller.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<439eaf62$1@newsgroups.borland.com> <439fd9bf@newsgroups.borland.com> <43a28512@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: <43a29104@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: Fri, 16 Dec 2005 11:05:40 +0100 References: <439eaf62$1@newsgroups.borland.com> <439fd9bf@newsgroups.borland.com> <43a28512@newsgroups.borland.com> Lines: 19 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.9.209 X-Trace: newsgroups.borland.com 1134727428 84.63.9.209 (16 Dec 2005 02:03:48 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.spamkiller.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail