🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.commandlinetools
Article #104

Re: How to best use a modified version of a package file for the "release" build?

#104
From: Stephan
Date: Fri, 16 Dec 2005 09:15
37 lines
2313 bytes
Hi Thomas,

thanks for your reply.

>>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 do, but I would also need to *undefine* symbols (like {$DEFINE 
DEVELOP}), which are set in the dpk file. Is that possible too?

>>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.

I thought so too, but that doesn't seem to be the case. I get a 
MyPackageRT_final.bpl, although the package itself is called MyPackageRT...

Any other ideas? :-)

All the best,

Stephan
Technical Details
Message-ID: <43a28512@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-mail
References: <439eaf62$1@newsgroups.borland.com> <439fd9bf@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
Date: Fri, 16 Dec 2005 10:15:26 +0100
From: Stephan <cyber.mail5005.10.spasp@xoxy.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en, ja, ko
MIME-Version: 1.0
Newsgroups: borland.public.delphi.commandlinetools
Subject: Re: How to best use a modified version of a package file for the
 "release" build?
References: <439eaf62$1@newsgroups.borland.com> <439fd9bf@newsgroups.borland.com>
In-Reply-To: <439fd9bf@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 85.197.1.16
Message-ID: <43a28512@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1134724370 85.197.1.16 (16 Dec 2005 01:12:50 -0700)
Lines: 37
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