Article View: borland.public.delphi.commandlinetools
Article #117DCC32 + Defines
From: Mitch
Date: Tue, 07 Mar 2006 17:47
Date: Tue, 07 Mar 2006 17:47
16 lines
1427 bytes
1427 bytes
I've been struggling to ues DCC32 and the project CFG file to automate
the build of a large project containing several executables and 100's of
units. After struggling to get the paths set I found that it wasn't
correctly evaluating some IFDEF's in my code. Despite the fact that a
directive was not defined it would treat it as defined. I finally worked
around the problem by adding an UNDEF in each unit that evaluated it.
{$IFDEF REPORTWORKS}
{$UNDEF ROCKWORKS}
{$ENDIF}
This doesn't seem the right way to do this and I'm sure I must be
missing something.
Mitch Wolberg
RockWare, Inc.
Technical Details
Message-ID:
<440dc747$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,cef2d0d351fc6255,start X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 07 Mar 2006 10:47:53 -0700 From: Mitch <mitch.ABB@rockware.com> User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.delphi.commandlinetools Subject: DCC32 + Defines Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 72.16.142.180 Message-ID: <440dc747$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1141753671 72.16.142.180 (7 Mar 2006 09:47:51 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail