diff options
author | Brad King <brad.king@kitware.com> | 2016-10-07 18:57:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-07 19:02:42 (GMT) |
commit | dda6775c940129d2a38fecd6cf6273f7d97ccca0 (patch) | |
tree | 666c16239f6ed691e6575ea0a0d0d75982e033d6 /Tests/RunCMake/AndroidMK/bar.c | |
parent | b99bbfe88d1bb02dc903507f3e1bbe716ac04c12 (diff) | |
download | CMake-dda6775c940129d2a38fecd6cf6273f7d97ccca0.zip CMake-dda6775c940129d2a38fecd6cf6273f7d97ccca0.tar.gz CMake-dda6775c940129d2a38fecd6cf6273f7d97ccca0.tar.bz2 |
Android: Record use of C++ by static libs in exported Android.mk files
When a `PREBUILT_STATIC_LIBRARY` uses C++ in its sources then the `.a`
file will have a link-time dependency on the C++ runtime libraries.
Android NDK r14 will add a way to give this information to the NDK build
system by adding a `LOCAL_HAS_CPP` setting to the `Android.mk` file.
Add this for exported static libraries that use C++.
Diffstat (limited to 'Tests/RunCMake/AndroidMK/bar.c')
-rw-r--r-- | Tests/RunCMake/AndroidMK/bar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/AndroidMK/bar.c b/Tests/RunCMake/AndroidMK/bar.c new file mode 100644 index 0000000..e1f4df6 --- /dev/null +++ b/Tests/RunCMake/AndroidMK/bar.c @@ -0,0 +1,3 @@ +void bar(void) +{ +} |