Skip to content

Commit 873777a

Browse files
committed
Add Android compilation instructions.
1 parent 518ad76 commit 873777a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,17 @@ With the common C++ build tools installed (g++, make, etc.) and the optional Ope
3939

4040
`make clean-test-server` - Clean just the test server.
4141

42+
## Android target ##
43+
44+
In order to compile for Android platforms, ensure that the Clang-based cross-compiler is accessible on the system PATH, and that libPoco has been compiled & made available. The use of the [POCO-build](https://github.com/MayaPosch/Poco-build) project is recommended here.
45+
46+
With these dependencies in place, compiling for any of the specific Android platforms is done by adding any of the following behind the `make` command:
47+
48+
- **ANDROID=1** for targeting ARMv7-based (32-bit) Android.
49+
- **ANDROID64=1** for targeting ARMv8-based (64-bit) Android.
50+
- **ANDROIDX86=1** for targeting x86-based (32-bit) Android.
51+
- **ANDROIDX64=1** for targeting x86_64 (64-bit) Android.
52+
4253
## Installing ##
4354

4455
Use `make install` to install NymphRPC after building with `make`. This has been tested with MSYS2 (Windows) and Linux.

0 commit comments

Comments
 (0)