E
Eyal
Hi,
I develop in an environment of "system of systems" where each such
system / tool is consistent with their fine names and class names. My
problem is that we don't have this uniqueness at the "system of
systems" level.
So when I do
#include "Tdb/TdbFactory.h"
the include file can be taken from a root of TOOL1 or from a root of
TOOL2 which are both in the include path.
Hence what I would like to do is something like:
#define TOOL1 /nfs/TOOL1 // which may be different across sites
and needs to stay at a macro level
#include "TOOL1/Tdb/TdbFactory.h" and by this "force" the include from
the correct location. Mind you that include order isn't enough for the
situation that both tools DOES have the same include file and
directory (real life problem in my work...).
Unfortunately this doesn't work with the C/C++ preprocessor.
Any suggestion?
Thanks,
Eyal
I develop in an environment of "system of systems" where each such
system / tool is consistent with their fine names and class names. My
problem is that we don't have this uniqueness at the "system of
systems" level.
So when I do
#include "Tdb/TdbFactory.h"
the include file can be taken from a root of TOOL1 or from a root of
TOOL2 which are both in the include path.
Hence what I would like to do is something like:
#define TOOL1 /nfs/TOOL1 // which may be different across sites
and needs to stay at a macro level
#include "TOOL1/Tdb/TdbFactory.h" and by this "force" the include from
the correct location. Mind you that include order isn't enough for the
situation that both tools DOES have the same include file and
directory (real life problem in my work...).
Unfortunately this doesn't work with the C/C++ preprocessor.
Any suggestion?
Thanks,
Eyal