I built this C++ executable using CMake 3.10.2 in Ubuntu 18.04 and it was built successfully using the first approach. I'm now trying to build it using the same CMakeLists.txt and folder structure in Android Studio which is also using CMake 3.10.2, this time a library not an executable, that being the only change.
On running inspect code inside Android Studio, it gave me errors related to the headers, it couldn't find them: <http://cmake.3232098.n2.nabble.com/file/t398066/headers_problem.headers_problem> >From my understanding when I built on Ubuntu, my build folder got populated with certain folders and files which contained the header files, but after building in Android Studio and looking inside the default build folder I couldn't find anything remotely similar. Is the way CMake works in Android Studio different than how CMake works in say, Ubuntu? -- Sent from: http://cmake.3232098.n2.nabble.com/ -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake