how do i write the following in the preprocessor directive language?
if (isfullversion and isproduction)
else if (isliteversion)
end if
how do i write the following in the preprocessor directive language?
if (isfullversion and isproduction)
else if (isliteversion)
end if
You create separate targets. one for the lite version, one for the full version, then add compiler flags like -DLITE
then check #ifdef LITE
in your code.
You should be able to write the conditions you already have for the preprocessor if you want, rather than just checking if they are defined.
#if (isfullversion && isproduction)
#elif (isliteversion)
#endif