So I have been using (a custom) CMake + Android Studio/Gradle for some
years now. I only recently saw that both official CMake is adding
Android support, and that the official Android tools are supporting
CMake. I’m actually still confused on the differences between the two
and what each offers in
Iosif, that's exactly it, I was not paying attention to the [ ] in the
docs! Thanks for your help.
On Mon, Oct 31, 2016 at 2:57 PM, iosif neitzke <
iosif.neitzke+cm...@gmail.com> wrote:
> Try something like:
> INSTALL( TARGETS foo ARCHIVE DESTINATION lib COMPONENT bar
> RUNT
On 10/31/2016 11:42 AM, Dave Flogeras wrote:
> Hi, are static libraries able to be added to a component?
Yes!
>
> The following minimal example doesn't work as I expected:
>
> CMAKE_MINIMUM_REQUIRED( VERSION 3.0.0 )
> PROJECT( foo )
>
> ADD_LIBRARY( foo foo.c )
> INSTALL( TARGETS foo ARCHIVE D
Hi, are static libraries able to be added to a component?
The following minimal example doesn't work as I expected:
CMAKE_MINIMUM_REQUIRED( VERSION 3.0.0 )
PROJECT( foo )
ADD_LIBRARY( foo foo.c )
INSTALL( TARGETS foo ARCHIVE DESTINATION lib
RUNTIME DESTINATION bin
Presumably you’ve tried this?
https://developer.android.com/studio/projects/add-native-code.html
Keep in mind that this is going to use Google’s cross-toolchain file, which may
be incompatible with what you already have.
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ioni
I'm sorry but that doesn't really answer my questions.
On Mon, Oct 31, 2016 at 8:55 AM, Cong Monkey wrote:
> Try to update your Android SDK from android studio?
>
>
> 2016年10月31日 21:31,"Robert Dailey" 写道:
>
> Which version of Android Studio? Latest stable is 2.2 IIRC. Are you
> talking about dev/
Try to update your Android SDK from android studio?
2016年10月31日 21:31,"Robert Dailey" 写道:
Which version of Android Studio? Latest stable is 2.2 IIRC. Are you
talking about dev/beta builds?
On Sun, Oct 30, 2016 at 9:04 AM, Cong Monkey wrote:
> The latest release of android studio work with CMAKE
Which version of Android Studio? Latest stable is 2.2 IIRC. Are you
talking about dev/beta builds?
On Sun, Oct 30, 2016 at 9:04 AM, Cong Monkey wrote:
> The latest release of android studio work with CMAKE well.
>
> you can create a new project with c++ support to test CMAKE support!
>
> You can
Hello Robert,
On 29/10/2016 22:03, Robert Ramey wrote:
> I've just "upgraded" to version 3.6 of CMake. I'm using Xcode with the
> clang compiler. Now when I'm trying to configure a project I'm getting:
>
> The C compiler identification is unknown
> The CXX compiler identification is unknown
> C