OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
share
/
cmake-3.26
/
Modules
/
Platform
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
04/04/2023 07:10:49 PM
rwxr-xr-x
📄
ADSP-C.cmake
49 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
ADSP-CXX.cmake
51 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
ADSP-Common.cmake
1.07 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
ADSP-Determine.cmake
974 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
ADSP.cmake
118 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📁
AIX
-
04/04/2023 07:10:49 PM
rwxr-xr-x
📄
AIX-Clang-C.cmake
28 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-Clang-CXX.cmake
30 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-GNU-ASM.cmake
50 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-GNU-C.cmake
48 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-GNU-CXX.cmake
109 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-GNU-Fortran.cmake
54 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-GNU.cmake
1.75 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-IBMClang-C.cmake
58 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-IBMClang-CXX.cmake
119 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-IBMClang.cmake
445 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-VisualAge-C.cmake
27 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-VisualAge-CXX.cmake
29 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-VisualAge-Fortran.cmake
33 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-XL-ASM.cmake
48 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-XL-C.cmake
168 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-XL-CXX.cmake
146 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-XL-Fortran.cmake
52 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-XL.cmake
2.06 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-XLClang-C.cmake
56 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-XLClang-CXX.cmake
58 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX-XLClang.cmake
390 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
AIX.cmake
1.41 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
ARTOS-GNU-C.cmake
591 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
ARTOS.cmake
526 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📁
Android
-
04/04/2023 07:10:49 PM
rwxr-xr-x
📄
Android-Clang-ASM.cmake
62 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Android-Clang-C.cmake
60 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Android-Clang-CXX.cmake
322 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Android-Clang.cmake
3.2 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Android-Common.cmake
8.04 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Android-Determine-C.cmake
77 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Android-Determine-CXX.cmake
79 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Android-Determine.cmake
23.95 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Android-GNU-C.cmake
56 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Android-GNU-CXX.cmake
177 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Android-GNU.cmake
1.01 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Android-Initialize.cmake
4.02 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Android.cmake
1.75 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-Absoft-Fortran.cmake
351 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-Apple-Swift.cmake
37 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-AppleClang-C.cmake
202 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-AppleClang-CXX.cmake
210 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-AppleClang-OBJC.cmake
214 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-AppleClang-OBJCXX.cmake
222 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-Clang-ASM.cmake
58 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-Clang-C.cmake
56 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-Clang-CXX.cmake
58 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-Clang-OBJC.cmake
59 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-Clang-OBJCXX.cmake
61 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-Clang.cmake
1.67 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-GNU-C.cmake
126 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-GNU-CXX.cmake
132 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-GNU-Fortran.cmake
428 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-GNU-OBJC.cmake
135 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-GNU-OBJCXX.cmake
141 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-GNU.cmake
2.17 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-Intel-C.cmake
56 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-Intel-CXX.cmake
58 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-Intel-Fortran.cmake
346 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-Intel.cmake
785 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-IntelLLVM-C.cmake
65 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-IntelLLVM-CXX.cmake
67 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-IntelLLVM-Fortran.cmake
355 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-IntelLLVM.cmake
719 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-NAG-Fortran.cmake
921 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-NVIDIA-CUDA.cmake
1.02 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-PGI-C.cmake
52 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-PGI-CXX.cmake
54 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-PGI-Fortran.cmake
58 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-PGI.cmake
492 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-VisualAge-C.cmake
29 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-VisualAge-CXX.cmake
31 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-XL-C.cmake
269 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Apple-XL-CXX.cmake
273 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BSDOS.cmake
29 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BeOS.cmake
404 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneL.cmake
1.82 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-base.cmake
5.14 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-dynamic-GNU-C.cmake
181 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-dynamic-GNU-CXX.cmake
183 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-dynamic-GNU-Fortran.cmake
187 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-dynamic-XL-C.cmake
302 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-dynamic-XL-CXX.cmake
280 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-dynamic-XL-Fortran.cmake
186 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-dynamic.cmake
323 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-static-GNU-C.cmake
180 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-static-GNU-CXX.cmake
182 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-static-GNU-Fortran.cmake
186 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-static-XL-C.cmake
301 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-static-XL-CXX.cmake
279 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-static-XL-Fortran.cmake
185 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneP-static.cmake
318 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-base.cmake
6.9 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-dynamic-GNU-C.cmake
177 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-dynamic-GNU-CXX.cmake
179 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-dynamic-GNU-Fortran.cmake
183 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-dynamic-XL-C.cmake
298 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-dynamic-XL-CXX.cmake
276 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-dynamic-XL-Fortran.cmake
182 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-dynamic.cmake
221 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-static-GNU-C.cmake
176 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-static-GNU-CXX.cmake
178 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-static-GNU-Fortran.cmake
182 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-static-XL-C.cmake
297 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-static-XL-CXX.cmake
275 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-static-XL-Fortran.cmake
181 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
BlueGeneQ-static.cmake
215 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
CYGWIN-Clang-C.cmake
31 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
CYGWIN-Clang-CXX.cmake
33 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
CYGWIN-Determine-CXX.cmake
248 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
CYGWIN-GNU-C.cmake
54 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
CYGWIN-GNU-CXX.cmake
56 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
CYGWIN-GNU-Fortran.cmake
60 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
CYGWIN-GNU.cmake
3.73 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
CYGWIN-windres.cmake
106 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
CYGWIN.cmake
797 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Catamount.cmake
1.01 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
CrayLinuxEnvironment.cmake
3.14 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
DOS-OpenWatcom-C.cmake
54 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
DOS-OpenWatcom-CXX.cmake
56 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
DOS-OpenWatcom.cmake
1 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
DOS.cmake
413 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Darwin-Determine-CXX.cmake
248 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Darwin-Initialize.cmake
12.3 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Darwin.cmake
10.5 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
DragonFly.cmake
412 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Euros.cmake
615 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
FreeBSD-Determine-CXX.cmake
77 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
FreeBSD.cmake
2.82 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Fuchsia.cmake
1.17 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
GHS-MULTI-Determine.cmake
4.46 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
GHS-MULTI.cmake
357 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
GNU.cmake
1.87 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
GNUtoMS_lib.bat.in
102 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
GNUtoMS_lib.cmake
383 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Generic-ADSP-ASM.cmake
292 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Generic-ADSP-C.cmake
761 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Generic-ADSP-CXX.cmake
791 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Generic-ADSP-Common.cmake
4.04 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Generic-ELF.cmake
236 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Generic-SDCC-C.cmake
2.32 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Generic.cmake
827 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
HP-UX-GNU-ASM.cmake
53 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
HP-UX-GNU-C.cmake
51 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
HP-UX-GNU-CXX.cmake
112 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
HP-UX-GNU-Fortran.cmake
57 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
HP-UX-GNU.cmake
750 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
HP-UX-HP-ASM.cmake
51 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
HP-UX-HP-C.cmake
405 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
HP-UX-HP-CXX.cmake
653 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
HP-UX-HP-Fortran.cmake
325 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
HP-UX-HP.cmake
837 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
HP-UX.cmake
1.93 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Haiku.cmake
4.91 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-Absoft-Fortran.cmake
67 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-CCur-Fortran.cmake
36 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-Clang-C.cmake
30 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-Clang-CXX.cmake
32 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-Determine-CXX.cmake
77 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-Fujitsu-C.cmake
32 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-Fujitsu-CXX.cmake
34 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-Fujitsu.cmake
612 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-GNU-C.cmake
52 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-GNU-CXX.cmake
54 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-GNU-Fortran.cmake
106 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-GNU.cmake
511 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-Intel-C.cmake
101 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-Intel-CXX.cmake
105 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-Intel-Fortran.cmake
182 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-Intel.cmake
2.05 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-IntelLLVM-C.cmake
110 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-IntelLLVM-CXX.cmake
114 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-IntelLLVM-Fortran.cmake
191 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-IntelLLVM.cmake
1.12 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-LCC-C.cmake
52 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-LCC-CXX.cmake
54 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-LCC-Fortran.cmake
252 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-LCC.cmake
511 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-NAG-Fortran.cmake
596 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-NVHPC-C.cmake
56 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-NVHPC-CXX.cmake
58 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-NVHPC-Fortran.cmake
62 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-NVHPC.cmake
679 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-OpenWatcom-C.cmake
58 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-OpenWatcom-CXX.cmake
60 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-OpenWatcom.cmake
1.26 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-PGI-C.cmake
52 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-PGI-CXX.cmake
54 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-PGI-Fortran.cmake
58 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-PGI.cmake
766 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-PathScale-C.cmake
64 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-PathScale-CXX.cmake
66 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-PathScale-Fortran.cmake
70 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-PathScale.cmake
597 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-SunPro-CXX.cmake
489 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-TinyCC-C.cmake
233 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-VisualAge-C.cmake
29 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-VisualAge-CXX.cmake
31 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-VisualAge-Fortran.cmake
35 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-XL-C.cmake
61 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-XL-CXX.cmake
63 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-XL-Fortran.cmake
67 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux-como.cmake
727 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Linux.cmake
4.26 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
MP-RAS.cmake
399 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
MSYS-Clang-C.cmake
33 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
MSYS-Clang-CXX.cmake
35 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
MSYS-Determine-CXX.cmake
39 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
MSYS-GNU-C.cmake
31 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
MSYS-GNU-CXX.cmake
33 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
MSYS-GNU-Fortran.cmake
37 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
MSYS-GNU.cmake
29 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
MSYS-windres.cmake
33 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
MSYS.cmake
118 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Midipix.cmake
28 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
MirBSD.cmake
26 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
NetBSD.cmake
2.23 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
OS2-OpenWatcom-C.cmake
54 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
OS2-OpenWatcom-CXX.cmake
56 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
OS2-OpenWatcom.cmake
1.8 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
OS2.cmake
413 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
OSF1.cmake
1.51 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
OpenBSD.cmake
1.43 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
OpenVMS.cmake
267 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
QNX.cmake
655 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
RISCos.cmake
188 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SCO_SV.cmake
96 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SINIX.cmake
264 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SerenityOS-Clang-ASM.cmake
62 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SerenityOS-Clang-C.cmake
60 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SerenityOS-Clang-CXX.cmake
62 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SerenityOS-GNU-ASM.cmake
62 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SerenityOS-GNU-C.cmake
60 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SerenityOS-GNU-CXX.cmake
62 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SerenityOS-GNU.cmake
1.11 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
SerenityOS.cmake
312 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SunOS-Clang-C.cmake
30 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SunOS-Clang-CXX.cmake
32 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SunOS-GNU-C.cmake
52 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SunOS-GNU-CXX.cmake
54 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SunOS-GNU-Fortran.cmake
58 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SunOS-GNU.cmake
996 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SunOS-PathScale-C.cmake
64 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SunOS-PathScale-CXX.cmake
66 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SunOS-PathScale-Fortran.cmake
70 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SunOS-PathScale.cmake
770 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SunOS.cmake
1.65 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Tru64.cmake
29 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
ULTRIX.cmake
187 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
UNIX_SV.cmake
318 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
UnixPaths.cmake
3.31 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
UnixWare.cmake
320 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Apple-Swift.cmake
72 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Borland-C.cmake
40 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Borland-CXX.cmake
42 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Clang-ASM.cmake
371 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Clang-C.cmake
712 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Clang-CXX.cmake
758 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Clang-HIP.cmake
759 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Clang.cmake
11.76 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Determine-CXX.cmake
248 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Embarcadero-C.cmake
77 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Embarcadero-CXX.cmake
81 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Embarcadero.cmake
5.39 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Flang-Fortran.cmake
637 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-G95-Fortran.cmake
38 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-GNU-ASM.cmake
58 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-GNU-C-ABI.cmake
30 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-GNU-C.cmake
56 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-GNU-CXX-ABI.cmake
32 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-GNU-CXX.cmake
58 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-GNU-Fortran-ABI.cmake
36 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-GNU-Fortran.cmake
162 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-GNU.cmake
10.98 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Intel-ASM.cmake
62 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Intel-C.cmake
995 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Intel-CXX.cmake
1.01 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Intel-Fortran.cmake
2.12 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Intel-ISPC.cmake
209 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Intel.cmake
888 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-IntelLLVM-ASM.cmake
66 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-IntelLLVM-C.cmake
64 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-IntelLLVM-CXX.cmake
91 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-IntelLLVM-Fortran.cmake
2.12 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-IntelLLVM.cmake
3.44 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-LLVMFlang-Fortran.cmake
87 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-MSVC-C.cmake
395 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-MSVC-CXX.cmake
430 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-MSVC.cmake
20.61 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-NVIDIA-CUDA.cmake
4.77 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-OpenWatcom-C.cmake
62 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-OpenWatcom-CXX.cmake
64 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-OpenWatcom.cmake
1.68 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-PGI-C.cmake
56 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-PGI-Fortran.cmake
62 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-PGI.cmake
2.3 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Watcom-C.cmake
39 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-Watcom-CXX.cmake
41 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-df.cmake
2.57 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows-windres.cmake
106 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows.cmake
1.35 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows3x-OpenWatcom-C.cmake
66 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows3x-OpenWatcom-CXX.cmake
68 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows3x-OpenWatcom.cmake
1.26 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
Windows3x.cmake
401 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsCE-MSVC-C.cmake
33 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsCE-MSVC-CXX.cmake
35 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsCE.cmake
26 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsPaths.cmake
3.02 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsPhone-Clang-ASM.cmake
36 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsPhone-Clang-C.cmake
34 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsPhone-Clang-CXX.cmake
36 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsPhone-GNU-ASM.cmake
34 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsPhone-GNU-C.cmake
32 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsPhone-GNU-CXX.cmake
34 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsPhone-MSVC-C.cmake
33 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsPhone-MSVC-CXX.cmake
35 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsPhone.cmake
26 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsStore-Clang-ASM.cmake
36 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsStore-Clang-C.cmake
34 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsStore-Clang-CXX.cmake
36 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsStore-GNU-ASM.cmake
34 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsStore-GNU-C.cmake
32 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsStore-GNU-CXX.cmake
34 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsStore-MSVC-C.cmake
33 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsStore-MSVC-CXX.cmake
35 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
WindowsStore.cmake
26 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
Xenix.cmake
29 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
eCos.cmake
2.67 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
gas.cmake
670 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
iOS-Determine-CXX.cmake
39 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
iOS-Initialize.cmake
243 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
iOS.cmake
25 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
kFreeBSD.cmake
213 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
syllable.cmake
1.47 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
tvOS-Determine-CXX.cmake
39 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
tvOS-Initialize.cmake
233 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
tvOS.cmake
25 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
watchOS-Determine-CXX.cmake
39 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
watchOS-Initialize.cmake
234 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
watchOS.cmake
25 bytes
04/04/2023 07:07:49 PM
rw-r--r--
Editing: Android-Determine.cmake
Close
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. # When CMAKE_SYSTEM_NAME is "Android", CMakeDetermineSystem loads this module. # This module detects platform-wide information about the Android target # in order to store it in "CMakeSystem.cmake". # Include the NDK hook. # It can be used by NDK to inject necessary fixes for an earlier cmake. if(CMAKE_ANDROID_NDK) include(${CMAKE_ANDROID_NDK}/build/cmake/hooks/pre/Android-Determine.cmake OPTIONAL) endif() # Support for NVIDIA Nsight Tegra Visual Studio Edition was previously # implemented in the CMake VS IDE generators. Avoid interfering with # that functionality for now. if(CMAKE_GENERATOR_PLATFORM STREQUAL "Tegra-Android") return() endif() # Commonly used Android toolchain files that pre-date CMake upstream support # set CMAKE_SYSTEM_VERSION to 1. Avoid interfering with them. if(CMAKE_SYSTEM_VERSION EQUAL 1) return() endif() # Natively compiling on an Android host doesn't use the NDK cross-compilation # tools. if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Android") return() endif() cmake_policy(PUSH) cmake_policy(SET CMP0057 NEW) # if IN_LIST # If using Android tools for Visual Studio, compile a sample project to get the # sysroot. if(CMAKE_GENERATOR MATCHES "Visual Studio") if(NOT CMAKE_SYSROOT) set(vcx_platform ${CMAKE_GENERATOR_PLATFORM}) if(CMAKE_GENERATOR MATCHES "Visual Studio 1[45]") set(vcx_sysroot_var "Sysroot") else() set(vcx_sysroot_var "SysrootLink") endif() if(CMAKE_GENERATOR MATCHES "Visual Studio 14") set(vcx_revision "2.0") elseif(CMAKE_GENERATOR MATCHES "Visual Studio 1[56]") set(vcx_revision "3.0") else() set(vcx_revision "") endif() configure_file(${CMAKE_ROOT}/Modules/Platform/Android/VCXProjInspect.vcxproj.in ${CMAKE_PLATFORM_INFO_DIR}/VCXProjInspect.vcxproj @ONLY) cmake_host_system_information(RESULT _msbuild QUERY VS_MSBUILD_COMMAND) # undocumented query execute_process( COMMAND "${_msbuild}" "VCXProjInspect.vcxproj" "/p:Configuration=Debug" "/p:Platform=${vcx_platform}" WORKING_DIRECTORY ${CMAKE_PLATFORM_INFO_DIR} OUTPUT_VARIABLE VCXPROJ_INSPECT_OUTPUT ERROR_VARIABLE VCXPROJ_INSPECT_OUTPUT RESULT_VARIABLE VCXPROJ_INSPECT_RESULT ) unset(_msbuild) if(NOT CMAKE_SYSROOT AND VCXPROJ_INSPECT_OUTPUT MATCHES "CMAKE_SYSROOT=([^%\r\n]+)[\r\n]") # Strip VS diagnostic output from the end of the line. string(REGEX REPLACE " \\(TaskId:[0-9]*\\)$" "" _sysroot "${CMAKE_MATCH_1}") if(EXISTS "${_sysroot}") file(TO_CMAKE_PATH "${_sysroot}" CMAKE_SYSROOT) endif() endif() if(VCXPROJ_INSPECT_RESULT) message(CONFIGURE_LOG "Determining the sysroot for the Android NDK failed. The output was: ${VCXPROJ_INSPECT_RESULT} ${VCXPROJ_INSPECT_OUTPUT} ") else() message(CONFIGURE_LOG "Determining the sysroot for the Android NDK succeeded. The output was: ${VCXPROJ_INSPECT_RESULT} ${VCXPROJ_INSPECT_OUTPUT} ") endif() endif() if(NOT CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION) set(CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION "clang") endif() endif() # If the user provided CMAKE_SYSROOT for us, extract information from it. set(_ANDROID_SYSROOT_NDK "") set(_ANDROID_SYSROOT_API "") set(_ANDROID_SYSROOT_ARCH "") set(_ANDROID_SYSROOT_STANDALONE_TOOLCHAIN "") if(CMAKE_SYSROOT) if(NOT IS_DIRECTORY "${CMAKE_SYSROOT}") message(FATAL_ERROR "Android: The specified CMAKE_SYSROOT:\n" " ${CMAKE_SYSROOT}\n" "is not an existing directory." ) endif() if(CMAKE_SYSROOT MATCHES "^([^\\\n]*)/platforms/android-([0-9]+)/arch-([a-z0-9_]+)$") set(_ANDROID_SYSROOT_NDK "${CMAKE_MATCH_1}") set(_ANDROID_SYSROOT_API "${CMAKE_MATCH_2}") set(_ANDROID_SYSROOT_ARCH "${CMAKE_MATCH_3}") elseif(CMAKE_SYSROOT MATCHES "^([^\\\n]*)/sysroot$") set(_ANDROID_SYSROOT_STANDALONE_TOOLCHAIN "${CMAKE_MATCH_1}") else() message(FATAL_ERROR "The value of CMAKE_SYSROOT:\n" " ${CMAKE_SYSROOT}\n" "does not match any of the forms:\n" " <ndk>/platforms/android-<api>/arch-<arch>\n" " <standalone-toolchain>/sysroot\n" "where:\n" " <ndk> = Android NDK directory (with forward slashes)\n" " <api> = Android API version number (decimal digits)\n" " <arch> = Android ARCH name (lower case)\n" " <standalone-toolchain> = Path to standalone toolchain prefix\n" ) endif() endif() # Find the Android NDK. if(CMAKE_ANDROID_NDK) if(NOT IS_DIRECTORY "${CMAKE_ANDROID_NDK}") message(FATAL_ERROR "Android: The NDK root directory specified by CMAKE_ANDROID_NDK:\n" " ${CMAKE_ANDROID_NDK}\n" "does not exist." ) endif() elseif(CMAKE_ANDROID_STANDALONE_TOOLCHAIN) if(NOT IS_DIRECTORY "${CMAKE_ANDROID_STANDALONE_TOOLCHAIN}") message(FATAL_ERROR "Android: The standalone toolchain directory specified by CMAKE_ANDROID_STANDALONE_TOOLCHAIN:\n" " ${CMAKE_ANDROID_STANDALONE_TOOLCHAIN}\n" "does not exist." ) endif() if(NOT EXISTS "${CMAKE_ANDROID_STANDALONE_TOOLCHAIN}/sysroot/usr/include/android/api-level.h") message(FATAL_ERROR "Android: The standalone toolchain directory specified by CMAKE_ANDROID_STANDALONE_TOOLCHAIN:\n" " ${CMAKE_ANDROID_STANDALONE_TOOLCHAIN}\n" "does not contain a sysroot with a known layout. The file:\n" " ${CMAKE_ANDROID_STANDALONE_TOOLCHAIN}/sysroot/usr/include/android/api-level.h\n" "does not exist." ) endif() else() if(IS_DIRECTORY "${_ANDROID_SYSROOT_NDK}") set(CMAKE_ANDROID_NDK "${_ANDROID_SYSROOT_NDK}") elseif(IS_DIRECTORY "${_ANDROID_SYSROOT_STANDALONE_TOOLCHAIN}") set(CMAKE_ANDROID_STANDALONE_TOOLCHAIN "${_ANDROID_SYSROOT_STANDALONE_TOOLCHAIN}") elseif(IS_DIRECTORY "${ANDROID_NDK}") file(TO_CMAKE_PATH "${ANDROID_NDK}" CMAKE_ANDROID_NDK) elseif(IS_DIRECTORY "${ANDROID_STANDALONE_TOOLCHAIN}") file(TO_CMAKE_PATH "${ANDROID_STANDALONE_TOOLCHAIN}" CMAKE_ANDROID_STANDALONE_TOOLCHAIN) elseif(IS_DIRECTORY "$ENV{ANDROID_NDK_ROOT}") file(TO_CMAKE_PATH "$ENV{ANDROID_NDK_ROOT}" CMAKE_ANDROID_NDK) elseif(IS_DIRECTORY "$ENV{ANDROID_NDK}") file(TO_CMAKE_PATH "$ENV{ANDROID_NDK}" CMAKE_ANDROID_NDK) elseif(IS_DIRECTORY "$ENV{ANDROID_STANDALONE_TOOLCHAIN}") file(TO_CMAKE_PATH "$ENV{ANDROID_STANDALONE_TOOLCHAIN}" CMAKE_ANDROID_STANDALONE_TOOLCHAIN) endif() # TODO: Search harder for the NDK or standalone toolchain. endif() set(_ANDROID_STANDALONE_TOOLCHAIN_API "") if(CMAKE_ANDROID_STANDALONE_TOOLCHAIN) # Try to read the API level from the toolchain launcher. if(EXISTS "${CMAKE_ANDROID_STANDALONE_TOOLCHAIN}/bin/clang") set(_ANDROID_API_LEVEL_CLANG_REGEX "__ANDROID_API__=([0-9]+)") file(STRINGS "${CMAKE_ANDROID_STANDALONE_TOOLCHAIN}/bin/clang" _ANDROID_STANDALONE_TOOLCHAIN_BIN_CLANG REGEX "${_ANDROID_API_LEVEL_CLANG_REGEX}" LIMIT_COUNT 1 LIMIT_INPUT 65536) if(_ANDROID_STANDALONE_TOOLCHAIN_BIN_CLANG MATCHES "${_ANDROID_API_LEVEL_CLANG_REGEX}") set(_ANDROID_STANDALONE_TOOLCHAIN_API "${CMAKE_MATCH_1}") endif() unset(_ANDROID_STANDALONE_TOOLCHAIN_BIN_CLANG) unset(_ANDROID_API_LEVEL_CLANG_REGEX) endif() if(NOT _ANDROID_STANDALONE_TOOLCHAIN_API) # The compiler launcher does not know __ANDROID_API__. Assume this # is not unified headers and look for it in the api-level.h header. set(_ANDROID_API_LEVEL_H_REGEX "^[\t ]*#[\t ]*define[\t ]+__ANDROID_API__[\t ]+([0-9]+)") file(STRINGS "${CMAKE_ANDROID_STANDALONE_TOOLCHAIN}/sysroot/usr/include/android/api-level.h" _ANDROID_API_LEVEL_H_CONTENT REGEX "${_ANDROID_API_LEVEL_H_REGEX}") if(_ANDROID_API_LEVEL_H_CONTENT MATCHES "${_ANDROID_API_LEVEL_H_REGEX}") set(_ANDROID_STANDALONE_TOOLCHAIN_API "${CMAKE_MATCH_1}") endif() endif() if(NOT _ANDROID_STANDALONE_TOOLCHAIN_API) message(WARNING "Android: Did not detect API level from\n" " ${CMAKE_ANDROID_STANDALONE_TOOLCHAIN}/bin/clang\n" "or\n" " ${CMAKE_ANDROID_STANDALONE_TOOLCHAIN}/sysroot/usr/include/android/api-level.h\n" ) endif() endif() if(NOT CMAKE_ANDROID_NDK AND NOT CMAKE_ANDROID_STANDALONE_TOOLCHAIN) message(FATAL_ERROR "Android: Neither the NDK or a standalone toolchain was found.") endif() if(CMAKE_ANDROID_NDK) # NDK >= 18 has platforms.cmake. It provides: # NDK_MIN_PLATFORM_LEVEL # NDK_MAX_PLATFORM_LEVEL include("${CMAKE_ANDROID_NDK}/build/cmake/platforms.cmake" OPTIONAL RESULT_VARIABLE _INCLUDED_PLATFORMS) # NDK >= 18 has abis.cmake. It provides: # NDK_KNOWN_DEVICE_ABI32S # NDK_KNOWN_DEVICE_ABI64S # NDK >= 23 also provides: # NDK_KNOWN_DEVICE_ABIS # NDK_ABI_<abi>_PROC # NDK_ABI_<abi>_ARCH # NDK_ABI_<abi>_TRIPLE # NDK_ABI_<abi>_LLVM_TRIPLE # NDK_PROC_<processor>_ABI # NDK_ARCH_<arch>_ABI include("${CMAKE_ANDROID_NDK}/build/cmake/abis.cmake" OPTIONAL RESULT_VARIABLE _INCLUDED_ABIS) endif() if(CMAKE_ANDROID_NDK AND EXISTS "${CMAKE_ANDROID_NDK}/source.properties") # Android NDK revision # Possible formats: # * r16, build 1234: 16.0.1234 # * r16b, build 1234: 16.1.1234 # * r16 beta 1, build 1234: 16.0.1234-beta1 # # Canary builds are not specially marked. file(READ "${CMAKE_ANDROID_NDK}/source.properties" _ANDROID_NDK_SOURCE_PROPERTIES) set(_ANDROID_NDK_REVISION_REGEX "^Pkg\\.Desc = Android NDK\nPkg\\.Revision = ([0-9]+)\\.([0-9]+)\\.([0-9]+)(-beta([0-9]+))?") if(NOT _ANDROID_NDK_SOURCE_PROPERTIES MATCHES "${_ANDROID_NDK_REVISION_REGEX}") string(REPLACE "\n" "\n " _ANDROID_NDK_SOURCE_PROPERTIES "${_ANDROID_NDK_SOURCE_PROPERTIES}") message(FATAL_ERROR "Android: Failed to parse NDK revision from:\n" " ${CMAKE_ANDROID_NDK}/source.properties\n" "with content:\n" " ${_ANDROID_NDK_SOURCE_PROPERTIES}") endif() set(_ANDROID_NDK_MAJOR "${CMAKE_MATCH_1}") set(_ANDROID_NDK_MINOR "${CMAKE_MATCH_2}") set(_ANDROID_NDK_BUILD "${CMAKE_MATCH_3}") set(_ANDROID_NDK_BETA "${CMAKE_MATCH_5}") if(_ANDROID_NDK_BETA STREQUAL "") set(_ANDROID_NDK_BETA "0") endif() set(CMAKE_ANDROID_NDK_VERSION "${_ANDROID_NDK_MAJOR}.${_ANDROID_NDK_MINOR}") unset(_ANDROID_NDK_SOURCE_PROPERTIES) unset(_ANDROID_NDK_REVISION_REGEX) unset(_ANDROID_NDK_MAJOR) unset(_ANDROID_NDK_MINOR) unset(_ANDROID_NDK_BUILD) unset(_ANDROID_NDK_BETA) endif() if(CMAKE_ANDROID_NDK) # Identify the host platform. if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin") if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "64") set(CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG "darwin-x86_64") else() set(CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG "darwin-x86") endif() elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64") set(CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG "linux-x86_64") else() set(CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG "linux-x86") endif() elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows") if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "AMD64") set(CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG "windows-x86_64") else() set(CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG "windows") endif() else() message(FATAL_ERROR "Android: Builds hosted on '${CMAKE_HOST_SYSTEM_NAME}' not supported.") endif() # Look for a unified toolchain/sysroot provided with the NDK. set(CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED "${CMAKE_ANDROID_NDK}/toolchains/llvm/prebuilt/${CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG}") if(NOT IS_DIRECTORY "${CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED}/sysroot") set(CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED "") endif() else() set(CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG "") set(CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED "") endif() if(_INCLUDED_ABIS) if(NDK_KNOWN_DEVICE_ABIS) set(_ANDROID_KNOWN_ABIS ${NDK_KNOWN_DEVICE_ABIS}) else() set(_ANDROID_KNOWN_ABIS ${NDK_KNOWN_DEVICE_ABI32S} ${NDK_KNOWN_DEVICE_ABI64S}) endif() endif() if(NOT DEFINED NDK_KNOWN_DEVICE_ABIS) # The NDK is not new enough to provide ABI information. # https://developer.android.com/ndk/guides/abis.html set(NDK_ABI_arm64-v8a_PROC "aarch64") set(NDK_ABI_arm64-v8a_ARCH "arm64") set(NDK_ABI_arm64-v8a_TRIPLE "aarch64-linux-android") set(NDK_ABI_arm64-v8a_LLVM_TRIPLE "aarch64-none-linux-android") set(NDK_ABI_armeabi-v7a_PROC "armv7-a") set(NDK_ABI_armeabi-v7a_ARCH "arm") set(NDK_ABI_armeabi-v7a_TRIPLE "arm-linux-androideabi") set(NDK_ABI_armeabi-v7a_LLVM_TRIPLE "armv7-none-linux-androideabi") set(NDK_ABI_armeabi-v6_PROC "armv6") set(NDK_ABI_armeabi-v6_ARCH "arm") set(NDK_ABI_armeabi-v6_TRIPLE "arm-linux-androideabi") set(NDK_ABI_armeabi-v6_LLVM_TRIPLE "armv6-none-linux-androideabi") set(NDK_ABI_armeabi_PROC "armv5te") set(NDK_ABI_armeabi_ARCH "arm") set(NDK_ABI_armeabi_TRIPLE "arm-linux-androideabi") set(NDK_ABI_armeabi_LLVM_TRIPLE "armv5te-none-linux-androideabi") set(NDK_ABI_mips_PROC "mips") set(NDK_ABI_mips_ARCH "mips") set(NDK_ABI_mips_TRIPLE "mipsel-linux-android") set(NDK_ABI_mips_LLVM_TRIPLE "mipsel-none-linux-android") set(NDK_ABI_mips64_PROC "mips64") set(NDK_ABI_mips64_ARCH "mips64") set(NDK_ABI_mips64_TRIPLE "mips64el-linux-android") set(NDK_ABI_mips64_LLVM_TRIPLE "mips64el-none-linux-android") set(NDK_ABI_x86_PROC "i686") set(NDK_ABI_x86_ARCH "x86") set(NDK_ABI_x86_TRIPLE "i686-linux-android") set(NDK_ABI_x86_LLVM_TRIPLE "i686-none-linux-android") set(NDK_ABI_x86_64_PROC "x86_64") set(NDK_ABI_x86_64_ARCH "x86_64") set(NDK_ABI_x86_64_TRIPLE "x86_64-linux-android") set(NDK_ABI_x86_64_LLVM_TRIPLE "x86_64-none-linux-android") set(NDK_PROC_aarch64_ABI "arm64-v8a") set(NDK_PROC_armv7-a_ABI "armeabi-v7a") set(NDK_PROC_armv6_ABI "armeabi-v6") set(NDK_PROC_armv5te_ABI "armeabi") set(NDK_PROC_i686_ABI "x86") set(NDK_PROC_mips_ABI "mips") set(NDK_PROC_mips64_ABI "mips64") set(NDK_PROC_x86_64_ABI "x86_64") set(NDK_ARCH_arm64_ABI "arm64-v8a") set(NDK_ARCH_arm_ABI "armeabi") set(NDK_ARCH_mips_ABI "mips") set(NDK_ARCH_mips64_ABI "mips64") set(NDK_ARCH_x86_ABI "x86") set(NDK_ARCH_x86_64_ABI "x86_64") endif() # Validate inputs. if(CMAKE_ANDROID_ARCH_ABI AND NOT DEFINED "NDK_ABI_${CMAKE_ANDROID_ARCH_ABI}_PROC") message(FATAL_ERROR "Android: Unknown ABI CMAKE_ANDROID_ARCH_ABI='${CMAKE_ANDROID_ARCH_ABI}'.") endif() if(CMAKE_SYSTEM_PROCESSOR AND NOT DEFINED "NDK_PROC_${CMAKE_SYSTEM_PROCESSOR}_ABI") message(FATAL_ERROR "Android: Unknown processor CMAKE_SYSTEM_PROCESSOR='${CMAKE_SYSTEM_PROCESSOR}'.") endif() if(_ANDROID_SYSROOT_ARCH AND NOT DEFINED "NDK_ARCH_${_ANDROID_SYSROOT_ARCH}_ABI") message(FATAL_ERROR "Android: Unknown architecture '${_ANDROID_SYSROOT_ARCH}' specified in CMAKE_SYSROOT:\n" " ${CMAKE_SYSROOT}" ) endif() # Select an ABI. if(NOT CMAKE_ANDROID_ARCH_ABI) if(CMAKE_SYSTEM_PROCESSOR) set(CMAKE_ANDROID_ARCH_ABI "${NDK_PROC_${CMAKE_SYSTEM_PROCESSOR}_ABI}") elseif(_ANDROID_SYSROOT_ARCH) set(CMAKE_ANDROID_ARCH_ABI "${NDK_ARCH_${_ANDROID_SYSROOT_ARCH}_ABI}") elseif(_INCLUDED_ABIS) # Default to the oldest ARM ABI. foreach(abi armeabi armeabi-v7a arm64-v8a) if("${abi}" IN_LIST _ANDROID_KNOWN_ABIS) set(CMAKE_ANDROID_ARCH_ABI "${abi}") break() endif() endforeach() if(NOT CMAKE_ANDROID_ARCH_ABI) message(FATAL_ERROR "Android: Can not determine the default ABI. Please set CMAKE_ANDROID_ARCH_ABI." ) endif() else() # https://developer.android.com/ndk/guides/application_mk.html # Default is the oldest ARM ABI. # Lookup the available ABIs among all toolchains. set(_ANDROID_ABIS "") file(GLOB _ANDROID_CONFIG_MKS "${CMAKE_ANDROID_NDK}/build/core/toolchains/*/config.mk" "${CMAKE_ANDROID_NDK}/toolchains/*/config.mk" ) foreach(config_mk IN LISTS _ANDROID_CONFIG_MKS) file(STRINGS "${config_mk}" _ANDROID_TOOL_ABIS REGEX "^TOOLCHAIN_ABIS :=") string(REPLACE "TOOLCHAIN_ABIS :=" "" _ANDROID_TOOL_ABIS "${_ANDROID_TOOL_ABIS}") separate_arguments(_ANDROID_TOOL_ABIS UNIX_COMMAND "${_ANDROID_TOOL_ABIS}") list(APPEND _ANDROID_ABIS ${_ANDROID_TOOL_ABIS}) unset(_ANDROID_TOOL_ABIS) endforeach() unset(_ANDROID_CONFIG_MKS) # Choose the oldest among the available arm ABIs. if(_ANDROID_ABIS) list(REMOVE_DUPLICATES _ANDROID_ABIS) foreach(abi armeabi armeabi-v7a arm64-v8a) if("${abi}" IN_LIST _ANDROID_ABIS) set(CMAKE_ANDROID_ARCH_ABI "${abi}") break() endif() endforeach() endif() unset(_ANDROID_ABIS) if(NOT CMAKE_ANDROID_ARCH_ABI) set(CMAKE_ANDROID_ARCH_ABI "armeabi") endif() endif() endif() if(_INCLUDED_ABIS AND NOT CMAKE_ANDROID_ARCH_ABI IN_LIST _ANDROID_KNOWN_ABIS) message(FATAL_ERROR "Android: ABI '${CMAKE_ANDROID_ARCH_ABI}' is not supported by the NDK.\n" "Supported ABIS: ${_ANDROID_KNOWN_ABIS}." ) endif() set(CMAKE_ANDROID_ARCH "${NDK_ABI_${CMAKE_ANDROID_ARCH_ABI}_ARCH}") if(_ANDROID_SYSROOT_ARCH AND NOT "x${_ANDROID_SYSROOT_ARCH}" STREQUAL "x${CMAKE_ANDROID_ARCH}") message(FATAL_ERROR "Android: Architecture '${_ANDROID_SYSROOT_ARCH}' specified in CMAKE_SYSROOT:\n" " ${CMAKE_SYSROOT}\n" "does not match architecture '${CMAKE_ANDROID_ARCH}' for the ABI '${CMAKE_ANDROID_ARCH_ABI}'." ) endif() set(CMAKE_ANDROID_ARCH_TRIPLE "${NDK_ABI_${CMAKE_ANDROID_ARCH_ABI}_TRIPLE}") set(CMAKE_ANDROID_ARCH_LLVM_TRIPLE "${NDK_ABI_${CMAKE_ANDROID_ARCH_ABI}_LLVM_TRIPLE}") # Select a processor. if(NOT CMAKE_SYSTEM_PROCESSOR) set(CMAKE_SYSTEM_PROCESSOR "${NDK_ABI_${CMAKE_ANDROID_ARCH_ABI}_PROC}") endif() # If the user specified both an ABI and a processor then they might not match. if(NOT NDK_ABI_${CMAKE_ANDROID_ARCH_ABI}_PROC STREQUAL CMAKE_SYSTEM_PROCESSOR) message(FATAL_ERROR "Android: The specified CMAKE_ANDROID_ARCH_ABI='${CMAKE_ANDROID_ARCH_ABI}' and CMAKE_SYSTEM_PROCESSOR='${CMAKE_SYSTEM_PROCESSOR}' is not a valid combination.") endif() # Select an API. if(CMAKE_SYSTEM_VERSION) set(_ANDROID_API_VAR CMAKE_SYSTEM_VERSION) elseif(CMAKE_ANDROID_API) set(CMAKE_SYSTEM_VERSION "${CMAKE_ANDROID_API}") set(_ANDROID_API_VAR CMAKE_ANDROID_API) elseif(_ANDROID_SYSROOT_API) set(CMAKE_SYSTEM_VERSION "${_ANDROID_SYSROOT_API}") set(_ANDROID_API_VAR CMAKE_SYSROOT) elseif(_ANDROID_STANDALONE_TOOLCHAIN_API) set(CMAKE_SYSTEM_VERSION "${_ANDROID_STANDALONE_TOOLCHAIN_API}") endif() if(CMAKE_SYSTEM_VERSION) if(CMAKE_ANDROID_API AND NOT "x${CMAKE_ANDROID_API}" STREQUAL "x${CMAKE_SYSTEM_VERSION}") message(FATAL_ERROR "Android: The API specified by CMAKE_ANDROID_API='${CMAKE_ANDROID_API}' is not consistent with CMAKE_SYSTEM_VERSION='${CMAKE_SYSTEM_VERSION}'." ) endif() if(_ANDROID_SYSROOT_API) foreach(v CMAKE_ANDROID_API CMAKE_SYSTEM_VERSION) if(${v} AND NOT "x${_ANDROID_SYSROOT_API}" STREQUAL "x${${v}}") message(FATAL_ERROR "Android: The API specified by ${v}='${${v}}' is not consistent with CMAKE_SYSROOT:\n" " ${CMAKE_SYSROOT}" ) endif() endforeach() endif() if(CMAKE_ANDROID_NDK) if (_INCLUDED_PLATFORMS) if(CMAKE_SYSTEM_VERSION GREATER NDK_MAX_PLATFORM_LEVEL OR CMAKE_SYSTEM_VERSION LESS NDK_MIN_PLATFORM_LEVEL) message(FATAL_ERROR "Android: The API level ${CMAKE_SYSTEM_VERSION} is not supported by the NDK.\n" "Choose one in the range of [${NDK_MIN_PLATFORM_LEVEL}, ${NDK_MAX_PLATFORM_LEVEL}]." ) endif() else() if(NOT IS_DIRECTORY "${CMAKE_ANDROID_NDK}/platforms/android-${CMAKE_SYSTEM_VERSION}") message(FATAL_ERROR "Android: The API specified by ${_ANDROID_API_VAR}='${${_ANDROID_API_VAR}}' does not exist in the NDK. " "The directory:\n" " ${CMAKE_ANDROID_NDK}/platforms/android-${CMAKE_SYSTEM_VERSION}\n" "does not exist." ) endif() endif() endif() elseif(CMAKE_ANDROID_NDK) if (_INCLUDED_PLATFORMS) set(CMAKE_SYSTEM_VERSION ${NDK_MIN_PLATFORM_LEVEL}) # And for LP64 we need to pull up to 21. No diagnostic is provided here because # minSdkVersion < 21 is valid for the project even though it may not be for this # ABI. if(CMAKE_ANDROID_ARCH_ABI MATCHES "64(-v8a)?$" AND CMAKE_SYSTEM_VERSION LESS 21) set(CMAKE_SYSTEM_VERSION 21) endif() else() file(GLOB _ANDROID_APIS_1 RELATIVE "${CMAKE_ANDROID_NDK}/platforms" "${CMAKE_ANDROID_NDK}/platforms/android-[0-9]") file(GLOB _ANDROID_APIS_2 RELATIVE "${CMAKE_ANDROID_NDK}/platforms" "${CMAKE_ANDROID_NDK}/platforms/android-[0-9][0-9]") list(SORT _ANDROID_APIS_1) list(SORT _ANDROID_APIS_2) set(_ANDROID_APIS ${_ANDROID_APIS_1} ${_ANDROID_APIS_2}) unset(_ANDROID_APIS_1) unset(_ANDROID_APIS_2) if(_ANDROID_APIS STREQUAL "") message(FATAL_ERROR "Android: No APIs found in the NDK. No\n" " ${CMAKE_ANDROID_NDK}/platforms/android-*\n" "directories exist." ) endif() string(REPLACE "android-" "" _ANDROID_APIS "${_ANDROID_APIS}") list(REVERSE _ANDROID_APIS) list(GET _ANDROID_APIS 0 CMAKE_SYSTEM_VERSION) unset(_ANDROID_APIS) endif() endif() if(NOT CMAKE_SYSTEM_VERSION MATCHES "^[0-9]+$") message(FATAL_ERROR "Android: The API specified by CMAKE_SYSTEM_VERSION='${CMAKE_SYSTEM_VERSION}' is not an integer.") endif() if(CMAKE_ANDROID_NDK AND NOT DEFINED CMAKE_ANDROID_NDK_DEPRECATED_HEADERS) if(IS_DIRECTORY "${CMAKE_ANDROID_NDK}/sysroot/usr/include/${CMAKE_ANDROID_ARCH_TRIPLE}") # Unified headers exist so we use them by default. set(CMAKE_ANDROID_NDK_DEPRECATED_HEADERS 0) else() # Unified headers do not exist so use the deprecated headers. set(CMAKE_ANDROID_NDK_DEPRECATED_HEADERS 1) endif() endif() # Save the Android-specific information in CMakeSystem.cmake. set(CMAKE_SYSTEM_CUSTOM_CODE " set(CMAKE_ANDROID_NDK \"${CMAKE_ANDROID_NDK}\") set(CMAKE_ANDROID_STANDALONE_TOOLCHAIN \"${CMAKE_ANDROID_STANDALONE_TOOLCHAIN}\") set(CMAKE_ANDROID_ARCH \"${CMAKE_ANDROID_ARCH}\") set(CMAKE_ANDROID_ARCH_ABI \"${CMAKE_ANDROID_ARCH_ABI}\") ") if(CMAKE_ANDROID_NDK) string(APPEND CMAKE_SYSTEM_CUSTOM_CODE "set(CMAKE_ANDROID_ARCH_TRIPLE \"${CMAKE_ANDROID_ARCH_TRIPLE}\")\n" "set(CMAKE_ANDROID_ARCH_LLVM_TRIPLE \"${CMAKE_ANDROID_ARCH_LLVM_TRIPLE}\")\n" "set(CMAKE_ANDROID_NDK_VERSION \"${CMAKE_ANDROID_NDK_VERSION}\")\n" "set(CMAKE_ANDROID_NDK_DEPRECATED_HEADERS \"${CMAKE_ANDROID_NDK_DEPRECATED_HEADERS}\")\n" "set(CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG \"${CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG}\")\n" "set(CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED \"${CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED}\")\n" ) endif() # Select an ARM variant. if(CMAKE_ANDROID_ARCH_ABI MATCHES "^armeabi") if(CMAKE_ANDROID_ARM_MODE) set(CMAKE_ANDROID_ARM_MODE 1) else() set(CMAKE_ANDROID_ARM_MODE 0) endif() string(APPEND CMAKE_SYSTEM_CUSTOM_CODE "set(CMAKE_ANDROID_ARM_MODE \"${CMAKE_ANDROID_ARM_MODE}\")\n" ) elseif(DEFINED CMAKE_ANDROID_ARM_MODE) message(FATAL_ERROR "Android: CMAKE_ANDROID_ARM_MODE is set but is valid only for 'armeabi' architectures.") endif() if(CMAKE_ANDROID_ARCH_ABI STREQUAL "armeabi-v7a") if(CMAKE_ANDROID_ARM_NEON) set(CMAKE_ANDROID_ARM_NEON 1) else() set(CMAKE_ANDROID_ARM_NEON 0) endif() string(APPEND CMAKE_SYSTEM_CUSTOM_CODE "set(CMAKE_ANDROID_ARM_NEON \"${CMAKE_ANDROID_ARM_NEON}\")\n" ) elseif(DEFINED CMAKE_ANDROID_ARM_NEON) message(FATAL_ERROR "Android: CMAKE_ANDROID_ARM_NEON is set but is valid only for 'armeabi-v7a' architecture.") endif() # Report the chosen architecture. message(STATUS "Android: Targeting API '${CMAKE_SYSTEM_VERSION}' with architecture '${CMAKE_ANDROID_ARCH}', ABI '${CMAKE_ANDROID_ARCH_ABI}', and processor '${CMAKE_SYSTEM_PROCESSOR}'") cmake_policy(POP) # Include the NDK hook. # It can be used by NDK to inject necessary fixes for an earlier cmake. if(CMAKE_ANDROID_NDK) include(${CMAKE_ANDROID_NDK}/build/cmake/hooks/post/Android-Determine.cmake OPTIONAL) endif()