Commit c857fc64 authored by Didier WECKMANN's avatar Didier WECKMANN
Browse files

fix(android): use a non relative path for toolchain configuration

parent a3474489
......@@ -141,7 +141,7 @@ In this case, you give all the necessary variables on the command-line in one sh
.. code:: bash
$ cd ~/Dev/Deps/Build/Debug
$ cmake ../Src/fw4spl-deps -DCMAKE_INSTALL_PREFIX=~/Dev/Deps/Install/Debug -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=../Src/fw4spl-deps/cmake/android/android-arm-api23-clang-ndk.cmake
$ cmake ../Src/fw4spl-deps -DCMAKE_INSTALL_PREFIX=~/Dev/Deps/Install/Debug -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=~/Dev/Deps/Src/fw4spl-deps/cmake/android/android-arm-api23-clang-ndk.cmake
2. NCurses based editor
+++++++++++++++++++++++++
......@@ -160,7 +160,7 @@ Then change the following CMake variables:
Press *"c"* to configure. Now you have got two new variables to set:
- ``CMAKE_TOOLCHAIN_FILE``: set to ../Src/fw4spl-deps/cmake/android/android-arm-api23-clang-ndk.cmake
- ``CMAKE_TOOLCHAIN_FILE``: set to ~/Dev/Deps/Src/fw4spl-deps/cmake/android/android-arm-api23-clang-ndk.cmake
Press *"c"* to configure and then *"g"* to generate the makefiles.
......@@ -181,7 +181,7 @@ Like ccmake, change the following CMake variables:
Press *"c"* to configure. Now you have got two new variables to set:
- ``CMAKE_TOOLCHAIN_FILE``: set to ../Src/fw4spl-deps/cmake/android/android-arm-api23-clang-ndk.cmake
- ``CMAKE_TOOLCHAIN_FILE``: set to ~/Dev/Deps/Src/fw4spl-deps/cmake/android/android-arm-api23-clang-ndk.cmake
Click on "configure" then "generate".
......@@ -221,7 +221,7 @@ Click on "configure" then "generate".
Press *"c"* to configure. Now you have got two new variables to set:
- ``CMAKE_TOOLCHAIN_FILE``: set to PATH/TO/fw4spl-deps/cmake/android/android-arm-api23-clang-ndk.cmake
- ``CMAKE_TOOLCHAIN_FILE``: set to ~/Dev/Deps/Src/fw4spl-deps/cmake/android/android-arm-api23-clang-ndk.cmake
.. note::
- If ``PROJECT_TO_BUILD`` is empty, all application will be compiled
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment