Xbase++ and the "Donnay" method of development

Xbase++ 2.0 Build 554 or later
Message
Author
bwolfsohn
Posts: 648
Joined: Thu Jan 28, 2010 7:07 am
Location: Alachua, Florida USA
Contact:

Re: Xbase++ and the "Donnay" method of development

#11 Post by bwolfsohn »

rdonnay wrote:Brian -

You may have to make a change to your project file for 2.0 to tell where the DLLs and EXEs are to be created.

Example for 1.9

Code: Select all

[DCLIPX.XPJ]
    ..\..\bin19\DCLIPX.DLL

[..\..\bin19\DCLIPX.DLL]
..\..\lib\dcdlls.res
Example for 2.0

Code: Select all

[DCLIPX.XPJ]
    DCLIPX.DLL

[DCLIPX.DLL]
    TARGET_DIR=..\..\bin20
    ..\..\lib\dcdlls.res

Roger,
do you use 2 different xpj files ? or is there a way of specifying the sections of the .xpj to use sort of like conditional compilation i.e.
#ifdef

or
#if XPPVER < 1900000 // Xbase 1.8 or less
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Xbase++ and the "Donnay" method of development

#12 Post by rdonnay »

Roger,
do you use 2 different xpj files ? or is there a way of specifying the sections of the .xpj to use sort of like conditional compilation i.e.
#ifdef

or
#if XPPVER < 1900000 // Xbase 1.8 or less
Unfortunately, PBUILD doesn't support any version condition statements, therefore I have different project files for 2.0.
The eXpress train is coming - and it has more cars.

bwolfsohn
Posts: 648
Joined: Thu Jan 28, 2010 7:07 am
Location: Alachua, Florida USA
Contact:

Re: Xbase++ and the "Donnay" method of development

#13 Post by bwolfsohn »

do you call them differently from a DOS prompt ??


have you considered using an environmental or passed var as part of your blip batch file ?
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Xbase++ and the "Donnay" method of development

#14 Post by rdonnay »

do you call them differently from a DOS prompt ??
I have different batch files that set the environment and then call pbuild.

Examples:

BUILD19.BAT
BUILD20.BAT
The eXpress train is coming - and it has more cars.

Post Reply