<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cmake.git/Modules/Platform/Android, branch master</title>
<subtitle>gitlab.kitware.com: cmake/cmake.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/'/>
<entry>
<title>VS/Android: Use safe API level when detecting the NDK directory</title>
<updated>2023-04-25T17:49:03+00:00</updated>
<author>
<name>Michael Karcher</name>
<email>kitware@mkarcher.dialup.fu-berlin.de</email>
</author>
<published>2023-04-21T16:10:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=16d8b65bc0efda22be8d9466cff2486cf5eada2a'/>
<id>16d8b65bc0efda22be8d9466cff2486cf5eada2a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>VS/Android: Detect full NDK root instead of sysroot</title>
<updated>2023-04-25T17:48:33+00:00</updated>
<author>
<name>Michael Karcher</name>
<email>kitware@mkarcher.dialup.fu-berlin.de</email>
</author>
<published>2023-04-21T16:08:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=f7af10100c034e485970cdff13822675b78eb48e'/>
<id>f7af10100c034e485970cdff13822675b78eb48e</id>
<content type='text'>
Visual Studio always uses a complete NDK and not a standalone toolchain.
Let CMake handle the NDK and related logic correctly, avoid trying to
find the standalone toolchain version from the unified clang toolchain
in newer NDKs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Visual Studio always uses a complete NDK and not a standalone toolchain.
Let CMake handle the NDK and related logic correctly, avoid trying to
find the standalone toolchain version from the unified clang toolchain
in newer NDKs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Move *_LLVM_TRIPLE to the centralized table</title>
<updated>2020-11-06T03:45:09+00:00</updated>
<author>
<name>Haibo Huang</name>
<email>hhb@google.com</email>
</author>
<published>2020-10-28T19:15:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=85e5139abac3c3fc1aba2d796a4020e0a6e95115'/>
<id>85e5139abac3c3fc1aba2d796a4020e0a6e95115</id>
<content type='text'>
This allows us to skip `abi-*.cmake` in the next change.
In the future we may move all this information to the NDK.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows us to skip `abi-*.cmake` in the next change.
In the future we may move all this information to the NDK.
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: add NDK hooks</title>
<updated>2020-10-30T00:52:41+00:00</updated>
<author>
<name>Haibo Huang</name>
<email>hhb@google.com</email>
</author>
<published>2020-10-27T22:08:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=707a06761fbceba35bf52d943a8fab2c76e79717'/>
<id>707a06761fbceba35bf52d943a8fab2c76e79717</id>
<content type='text'>
This change adds hooks to key Android support files, so that NDK can
inject information or change cmake behaviors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds hooks to key Android support files, so that NDK can
inject information or change cmake behaviors.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos identified using codespell</title>
<updated>2020-07-22T16:44:47+00:00</updated>
<author>
<name>Jean-Christophe Fillion-Robin</name>
<email>jchris.fillionr@kitware.com</email>
</author>
<published>2020-07-21T21:35:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=207373802ee5458fa2cb0bd8a5ea466840ee15ec'/>
<id>207373802ee5458fa2cb0bd8a5ea466840ee15ec</id>
<content type='text'>
See https://github.com/codespell-project/codespell#readme

The following command was used:

```
codespell -q6 --skip="\
.git,\
*.json,\
./Copyright.txt,\
./Help/command/foreach.rst,\
./Help/prop_test/REQUIRED_FILES.rst,\
./Help/variable/CTEST_COVERAGE_COMMAND.rst,\
./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\
./Modules/CMakeRCInformation.cmake,\
./Modules/Internal/CPack/NSIS.template.in,\
./Modules/FindMatlab.cmake,\
./Modules/MatlabTestsRedirect.cmake,\
./Modules/Platform/Windows-Clang.cmake,\
./Modules/Platform/Windows-Intel-Fortran.cmake,\
./Modules/Platform/Windows-MSVC.cmake,\
./Source/CMakeVersion.cmake,\
./Source/cmConvertMSBuildXMLToJSON.py,\
./Source/cmCreateTestSourceList.cxx,\
./Source/cmGlobalVisualStudio10Generator.cxx,\
./Source/cmExportBuildFileGenerator.cxx,\
./Source/cmExportInstallAndroidMKGenerator.cxx,\
./Source/cmExportInstallFileGenerator.cxx,\
./Source/cmExportSet.cxx,\
./Source/cmExportTryCompileFileGenerator.cxx,\
./Source/cmFindPackageCommand.cxx,\
./Source/cmInstallCommand.cxx,\
./Source/cmGeneratorExpressionLexer.cxx,\
./Source/cmLocalVisualStudio7Generator.cxx,\
./Source/cmOrderDirectories.cxx,\
./Source/cmTarget.cxx,\
./Source/kwsys/*,\
./Source/QtDialog/CMakeSetupDialog.ui,\
./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\
./Source/CTest/cmParseCoberturaCoverage.h,\
./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\
./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\
./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\
./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\
./Tests/RunCMake/GoogleTest/xml_output.cpp,\
./Tests/RunCMake/Make/TargetMessages*,\
./Utilities/*,\
" \
-L "\
dependees,\
endwhile,\
fo,\
filetest,\
helpfull,\
nd,\
objext,\
stoll,\
supercedes,\
superceded,\
vas,\
varn,\
"
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://github.com/codespell-project/codespell#readme

The following command was used:

```
codespell -q6 --skip="\
.git,\
*.json,\
./Copyright.txt,\
./Help/command/foreach.rst,\
./Help/prop_test/REQUIRED_FILES.rst,\
./Help/variable/CTEST_COVERAGE_COMMAND.rst,\
./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\
./Modules/CMakeRCInformation.cmake,\
./Modules/Internal/CPack/NSIS.template.in,\
./Modules/FindMatlab.cmake,\
./Modules/MatlabTestsRedirect.cmake,\
./Modules/Platform/Windows-Clang.cmake,\
./Modules/Platform/Windows-Intel-Fortran.cmake,\
./Modules/Platform/Windows-MSVC.cmake,\
./Source/CMakeVersion.cmake,\
./Source/cmConvertMSBuildXMLToJSON.py,\
./Source/cmCreateTestSourceList.cxx,\
./Source/cmGlobalVisualStudio10Generator.cxx,\
./Source/cmExportBuildFileGenerator.cxx,\
./Source/cmExportInstallAndroidMKGenerator.cxx,\
./Source/cmExportInstallFileGenerator.cxx,\
./Source/cmExportSet.cxx,\
./Source/cmExportTryCompileFileGenerator.cxx,\
./Source/cmFindPackageCommand.cxx,\
./Source/cmInstallCommand.cxx,\
./Source/cmGeneratorExpressionLexer.cxx,\
./Source/cmLocalVisualStudio7Generator.cxx,\
./Source/cmOrderDirectories.cxx,\
./Source/cmTarget.cxx,\
./Source/kwsys/*,\
./Source/QtDialog/CMakeSetupDialog.ui,\
./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\
./Source/CTest/cmParseCoberturaCoverage.h,\
./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\
./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\
./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\
./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\
./Tests/RunCMake/GoogleTest/xml_output.cpp,\
./Tests/RunCMake/Make/TargetMessages*,\
./Utilities/*,\
" \
-L "\
dependees,\
endwhile,\
fo,\
filetest,\
helpfull,\
nd,\
objext,\
stoll,\
supercedes,\
superceded,\
vas,\
varn,\
"
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Visual Studio: Add Android support</title>
<updated>2020-06-24T12:41:09+00:00</updated>
<author>
<name>Kyle Edwards</name>
<email>kyle.edwards@kitware.com</email>
</author>
<published>2020-06-12T19:11:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=6051a49c78a36b82e77a62e09f0ba5a5b5d14532'/>
<id>6051a49c78a36b82e77a62e09f0ba5a5b5d14532</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge topic 'android-ndk-r19-binutils'</title>
<updated>2020-02-04T13:26:40+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2020-02-04T13:26:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=a8bcfddb2b93172cb072a95586db5af6e4e5817a'/>
<id>a8bcfddb2b93172cb072a95586db5af6e4e5817a</id>
<content type='text'>
e3d3b7ddeb Android: Fix binutils selection with NDK r19+ unified toolchain

Acked-by: Kitware Robot &lt;kwrobot@kitware.com&gt;
Merge-request: !4318
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
e3d3b7ddeb Android: Fix binutils selection with NDK r19+ unified toolchain

Acked-by: Kitware Robot &lt;kwrobot@kitware.com&gt;
Merge-request: !4318
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Fix binutils selection with NDK r19+ unified toolchain</title>
<updated>2020-02-03T19:35:12+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2020-02-03T19:32:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=e3d3b7ddeb5922a4d17b962984e698e6387f7544'/>
<id>e3d3b7ddeb5922a4d17b962984e698e6387f7544</id>
<content type='text'>
In commit 97bca2f9fa (Android: Use unified toolchain in NDK r19+,
2019-07-26, v3.16.0-rc1~342^2) we hard-coded use of the unified
toolchain for NDK r19+ and skipped most of the old detection logic.
However, in that fast path we left out setting `_CMAKE_TOOLCHAIN_PREFIX`
for `CMakeFindBinutils` to select the matching binutils.  Add it.

Fixes: #20038
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In commit 97bca2f9fa (Android: Use unified toolchain in NDK r19+,
2019-07-26, v3.16.0-rc1~342^2) we hard-coded use of the unified
toolchain for NDK r19+ and skipped most of the old detection logic.
However, in that fast path we left out setting `_CMAKE_TOOLCHAIN_PREFIX`
for `CMakeFindBinutils` to select the matching binutils.  Add it.

Fixes: #20038
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: add support for native compilation, such as with the Termux app</title>
<updated>2019-10-15T15:43:51+00:00</updated>
<author>
<name>Butta</name>
<email>gl@butta.fastem.com</email>
</author>
<published>2019-10-15T07:54:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=c5892e484e21f49abf2afd138dddd6720bf91adc'/>
<id>c5892e484e21f49abf2afd138dddd6720bf91adc</id>
<content type='text'>
The CMake support for Android assumes cross-compilation using the NDK,
so stub out that Android NDK support and use the Linux support that's
already invoked. Set CMAKE_HOST_SYSTEM_NAME to "Android", rather than
"Linux".

Issue: #19840
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The CMake support for Android assumes cross-compilation using the NDK,
so stub out that Android NDK support and use the Linux support that's
already invoked. Set CMAKE_HOST_SYSTEM_NAME to "Android", rather than
"Linux".

Issue: #19840
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Use unified toolchain in NDK r19+</title>
<updated>2019-07-26T18:17:07+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2019-07-26T16:48:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=97bca2f9fab58fcf5bbcb29e1e7e86e37b5cc1e0'/>
<id>97bca2f9fab58fcf5bbcb29e1e7e86e37b5cc1e0</id>
<content type='text'>
The NDK build system now uses only a single toolchain in

    &lt;ndk&gt;/toolchains/llvm/prebuilt/&lt;host&gt;

Its compilers are always `bin/{clang,clang++}` and its binutils are
always `bin/&lt;triple&gt;-*`.  It is a standalone toolchain:

* The Anrdoid API level is specified at the end of `--target=`.
* The standard library may be specified via `-stdlib=`.
* No need to pass system includes or libraries explicitly.
* No need to pass `--sysroot` or `-gcc-toolchain`.

Teach CMake to recognize NDK versions that have a unified
toolchain with its own sysroot and use the above approach.

Fixes: #18739
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The NDK build system now uses only a single toolchain in

    &lt;ndk&gt;/toolchains/llvm/prebuilt/&lt;host&gt;

Its compilers are always `bin/{clang,clang++}` and its binutils are
always `bin/&lt;triple&gt;-*`.  It is a standalone toolchain:

* The Anrdoid API level is specified at the end of `--target=`.
* The standard library may be specified via `-stdlib=`.
* No need to pass system includes or libraries explicitly.
* No need to pass `--sysroot` or `-gcc-toolchain`.

Teach CMake to recognize NDK versions that have a unified
toolchain with its own sysroot and use the above approach.

Fixes: #18739
</pre>
</div>
</content>
</entry>
</feed>
