T
Tropos
I have a _TEST_ flag that I want to sometimes set for compilation,
e.g.
#if _TEST_
#include "MyTestInterface.h"
#else
#include "MyRealInterface.h"
#endif
But I am in a version-controlled environment where there is a time
penalty for checking out/checking in the source file or makefile. Is
there any way I can say something like
make -D_TEST_=1
to set the value of _TEST_ for a single build?
Thanks
(e-mail address removed)
e.g.
#if _TEST_
#include "MyTestInterface.h"
#else
#include "MyRealInterface.h"
#endif
But I am in a version-controlled environment where there is a time
penalty for checking out/checking in the source file or makefile. Is
there any way I can say something like
make -D_TEST_=1
to set the value of _TEST_ for a single build?
Thanks
(e-mail address removed)