From 1e9295a9beaeb0b1b35b09adbe8d4d8a6a2e3f84 Mon Sep 17 00:00:00 2001 From: Lucas Cavalcante de Sousa Date: Tue, 13 Oct 2020 17:43:45 -0300 Subject: [PATCH] Add installation instructions for MacOS Change-Id: Id26bbd3035ad1c0d39a4194fd25e568469df2d8d --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 1e2ec74..c27d776 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ * [4. Building for MS Windows](#4-windows-builds) * Build with the Visual Studio project. * Build with CMake. + * [5. Building for MacOS](#5-building-for-macos) * [Creating an example](#creating-an-example) # Build Instructions @@ -167,3 +168,23 @@ vcpkg-script folder in the windows-dependencies repository. $ setx DALI_STYLE_DIR $DALI_ENV_FOLDER/share/dali/toolkit/styles/ $ setx DALI_STYLE_IMAGE_DIR $DALI_ENV_FOLDER/share/dali/toolkit/styles/images/ $ setx DALI_DATA_READ_ONLY_DIR $DALI_ENV_FOLDER/share/dali/ + +## 5. Building for MacOS + +Here it is expected that the environment variables are set accordingly to +`dali-core/README.md`. + +To build the repository enter the 'build/tizen' folder: +```bash + $ cd dali-demo/build/tizen +``` +Then run the following command to set up the build: +```bash + $ cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX -DCMAKE_TOOLCHAIN_FILE=$VCPKG_FOLDER/scripts/buildsystems/vcpkg.cmake -DINTERNATIONALIZATION=OFF -DENABLE_PKG_CONFIGURE=OFF +``` +If a Debug build is required, then add `-DCMAKE_BUILD_TYPE=Debug` + +To build, run: +```bash + $ make install -j8 +``` -- 2.7.4