Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Building EXE Condition to include a VCX files
Message
From
04/10/2008 05:04:22
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01352681
Message ID:
01352746
Views:
28
Hi,

I don't think you can do it with #DEFINEs. I use different prgs to compile different versions. Each one copies the relevant files from a sub folder to the location in which the project expects them before issuing the Build command.

Probably be tidier to use a project hook and do this in the BeforeBuild but I never got around to it....

HTH,
Viv

>Here is an example. I have a project that has two class libraries of exact same name (e.g. MYLIB.VCX). Each library reside in a separate folder (MYLIB1 and MYLIB2). Can I use a #DEFINE or something of that sort to set a condition so that when I build an EXE only one of the libraries (matching conditional choice) is included in the EXE file?
>
>Thank you in advance for any suggestions.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform