How are the include folders determined for a TInterpreter? I know how to add a folder but I’m wondering which folders are used as default and how they are determined. My question stems from the fact that in my project I have a library with a class embedding a TInterpreter; when I use the interpreter in two different executables I get these:
-I
/home/mori/software/install/ROOT_6.10.06/etc
-I
/home/mori/software/install/ROOT_6.10.06/etc/cling
-I
/home/mori/software/install/ROOT_6.10.06/include
-I
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/…/…/…/…/include/c++/7.2.0
-I
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/…/…/…/…/include/c++/7.2.0/x86_64-pc-linux-gnu
-I
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/…/…/…/…/include/c++/7.2.0/backward
-isystem
/usr/local/include
-isystem
/home/mori/software/install/ROOT_6.10.06/etc/cling/lib/clang/3.9.0/include
-extern-c-isystem
/include
-extern-c-isystem
/usr/include
-I
/home/mori/software/develop/EventAnalysis/Debug/include
-I
/home/mori/software/develop/EventAnalysis/include
-I
/home/mori/software/develop/EventAnalysis
-I
/home/mori/software/develop/EventAnalysis/Debug/testsuite/persistence
-I
/home/mori/software/develop/EventAnalysis/Debug/testsuite/persistence/
-resource-dir
/home/mori/software/install/ROOT_6.10.06/etc/cling/lib/clang/3.9.0
-nostdinc++
in one case and these:
-I
/home/mori/software/install/ROOT_6.10.06/etc
-I
/home/mori/software/install/ROOT_6.10.06/etc/cling
-I
/home/mori/software/install/ROOT_6.10.06/include
-I
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/…/…/…/…/include/c++/7.2.0
-I
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/…/…/…/…/include/c++/7.2.0/x86_64-pc-linux-gnu
-I
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/…/…/…/…/include/c++/7.2.0/backward
-isystem
/usr/local/include
-isystem
/home/mori/software/install/ROOT_6.10.06/etc/cling/lib/clang/3.9.0/include
-extern-c-isystem
/include
-extern-c-isystem
/usr/include
-I
/home/mori/software/develop/EventAnalysis/Debug/include
-resource-dir
/home/mori/software/install/ROOT_6.10.06/etc/cling/lib/clang/3.9.0
-nostdinc++
in the other case. Both executables belong to the same cmake project, and I really can’t figure out why some folders are included only by the first one. Thanks.