[CMake] Write CMakeLists.txt for this C++ program
dexter810
meghna.vasudeva at gmail.com
Sun Jun 23 04:39:17 EDT 2019
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/
More information about the CMake
mailing list