I am developing a ROOT-based application which can be complied and executed either as a standalone program or by ACLIC.
I am wondering if there is a good macro variable to distinguish the two compilation environment.
I tried CINT, CINT_FIXED, and MAKECINT. but they don’t seem to work…
I am using ROOT ver.5.18 with GCC 3.3.6 on Fedora-based Linux.
we currently do not define a macro when compiling with ACLiC (but we could in the future if really needed). You could do it the other way around: define a macro in your standalone Makefile and test on that. Would that be sufficient?
Thank you for your reply.
You are right. It is sufficient.
Sorry for the silly question.
no problem at all; it’s good that we found a solution that works for you!