From 1802a968c18b547f5befaa7e3f2aa5c41db21828 Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Sat, 14 Mar 2020 14:02:36 +0100 Subject: [PATCH] Update README.md [ci skip] --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3901a7a82..6a8d356e2 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ You will need the tools defined for Linphone-SDK 4.3 : - pip - yasm - nasm -- doxygen +- doxygen (required for the Cxx Wrapper) - Pystache (use pip install pystache) - six (use pip install six) - Perl (can be downloaded at http://strawberryperl.com/ for Windows. Set your Path to perl binaries) @@ -66,12 +66,14 @@ The build is done in 3 steps. First, you need to build the SDK, then the submodu 1. Create your build folder at the root of the project : `mkdir build-desktop` Go to this new folder and begin the build process : `cd build-desktop` -2. Prepare your options : `cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo` By default, it will try compile all dependencies. You can remove some by adding `-ENABLE_=NO` to the command. You can use `cmake-gui ..` if you want to have a better access to them. +2. Prepare your options : `cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo` By default, it will try compile all dependencies. You can remove some by adding `-DENABLE_=NO` to the command. You can use `cmake-gui ..` if you want to have a better access to them. 3. Build the SDK : `cmake --build . --target sdk --config RelWithDebInfo`. You can add `--parallel 10` if you have CMake>3.12 to speedup the process. 4. Build The submodule. `cmake ..` and `cmake --build . --target install --config RelWithDebInfo` +If the target install doesn't exist, it is because you had issues on the first step or the project generation could be done when calling `cmake ..`. + 5. Finish the process with a new `cmake ..` and `cmake --build . --target install --config RelWithDebInfo`. It is important to set the config in the process or you can have a bad configuration for your binary that could lead to some corruption : on Windows, this issue is spotted when trying to start the application and an empty file with a random name is created. So, you are working on an IDE (like Qt Creator), you may override the build command.