Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#Include
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00885954
Message ID:
00885990
Vues:
9
Thanks,

What i'm trying to do is setup different .h file path for different builds (Dev, Test and prod) Anyway, i found another way to do it.


>#include is a compile time thing, it can't evaluate a string.
>
>If you have a SET PATH environment in place you should be able to just:
>
>#include test.h
>
>
>>Is there any way for this to work ?
>>
>>
>>
>>*-- c:\test\Test.h
>>#define MyTest 1
>>
>>*-- Some program
>>#define build_root "c:\Test\"
>>#include build_root + "Test.h"
>>? MyTEST && Error: Variable MyTest is not found
>>
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform