diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-03-26 16:11:16 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-03-26 16:11:16 +0200 |
commit | 80ad74f7613d7d790a5152ee377af361ecd3ff9b (patch) | |
tree | 71aaa4d4d6286673f79aa109be03df70f13fc627 /README | |
parent | 5b920be490f49f951a99651918b2d2425a8d070c (diff) | |
download | libtdevnc-80ad74f7613d7d790a5152ee377af361ecd3ff9b.tar.gz libtdevnc-80ad74f7613d7d790a5152ee377af361ecd3ff9b.zip |
Fix building for Android and add build instructions to README
Diffstat (limited to 'README')
-rw-r--r-- | README | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -81,6 +81,17 @@ LibVNCServer uses CMake, so you can build via: For some more comprehensive examples that include installation of dependencies, see the [Unix CI](.travis.yml) and [Windows CI](.appveyor.yml) build setups. +Crosscompiling involves some more advanced command line switches but is easily possible +as well. + +For instance, building for Android (see https://developer.android.com/ndk/guides/cmake.html as a reference): + + mkdir build + cd build + cmake .. -DANDROID_NDK=<path> -DCMAKE_TOOLCHAIN_FILE=<path> -DANDROID_NATIVE_API_LEVEL=<API level you want> -DWITH_PNG=OFF # NDK not shipping png per default + cmake --build . + + How to use ---------- |