Android Studio, CMake. How to print debug message in compile time? : <p>I'm using Android Studio 2.3 beta 3. I put <code>message(AUTHOR_WARNING "Hello CMake, hello Android")</code> In my CMakeLists.txt</p>

<p>But I saw this message only few times when rebuilding project in Android Studio. In most cases there's no <code>"Hello CMake, hello Android"</code> string in Gradle Console after build finishes. I've tried resync gradle and clean/rebuild project, still no expected output.</p>

<p>I have some problems with my build (I think it's incorrect paths) so my goal - to print CMake variables in compile time to better understand what is actually going on.</p>
