title: Android Studio JNI/C++: how to define a root path for all #include tags?
body: <p>I have an Android Java/C++ (JNI) project using CMake.</p>
  <p>Here is the structure of the C++ part of my project:</p>
  <p><a href="https://i.stack.imgur.com/DMh22.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DMh22.png" alt="enter image description here" /></a></p>
  <p>So, I have different subfolders in my project (project1, project2, etc...)</p>
  <p>The files in these folders have different #include tags. Some of the #include tags in a defined folder refer to a file in another folder. For these tags, I would like to have a #include with a path like:</p>
  <pre><code>#include &quot;otherproject/xxx.h&quot; // I want that !
  </code></pre>
  <p>and NOT like:</p>
  <pre><code>#include &quot;../otherproject/xxx.h&quot; // I don't want that !
  </code></pre>
  <p>For example, for the project1file1.h, here is what I want and don't want:</p>
  <pre><code>#include &quot;project2/project2file1.h&quot; // I want that !
  // #include &quot;../project2/project2file1.h&quot; // I don't want that !
  </code></pre>
  <p>So, my question is : is it possible in Android Studio/C++/JNI/CMake to define a kind of root path for all #include tags ?</p>
  <p>Thanks a lot.</p>