Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building EXE Condition to include a VCX files
Message
De
04/10/2008 05:04:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01352681
Message ID:
01352746
Vues:
29
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform