[cmake-developers] Building executables as libraries
Bill Hoffman
bill.hoffman at kitware.com
Wed Mar 26 10:52:35 EDT 2014
On 3/26/2014 10:18 AM, J Decker wrote:
> and (sorry for double reply) having add_executable always build as a
> library means I can't build real executables... if it did it based on
> the WIN32 flag (or equivalent0 it would be better
Maybe that is a good analogy. Instead of WIN32, we add an ANDROID flag
that makes it create a shared library instead of an exe. I don't think
you can assume that any executable will just magically work on ANDROID
just because CMake makes it a .so.
-Bill
More information about the cmake-developers
mailing list