* [Building and executing test cases](#building-and-executing-test-cases)
* [2. GBS Builds](#2-gbs-builds)
* [DEBUG Builds](#debug-builds)
+ * [DS-5 Streamline Trace Builds](#ds-5-streamline-trace-builds)
* [3. Building for MS Windows](#3-building-for-ms-windows)
- * Build with the Visual Studio project.
- * Build with CMake.
+ * [Build with the Visual Studio project](#build-with-the-visual-studio-project)
+ * [Build with CMake](#build-with-cmake)
+ * [4. Building for MacOS](#4-building-for-macos)
# Build Instructions
- Ubuntu 16.04 or later
- Environment created using dali_env script in dali-core repository
- GCC version 9
+ - Cmake version 3.8.2 or later
DALi requires a compiler supporting C++17 features.
$ gbs build -A [TARGET_ARCH] --define "%enable_debug 1"
+### DS-5 Streamline Trace Builds
+
+By default, when using a GBS build, trace is enabled but Ttrace is used.
+If you want to use DS-5 Streamline instead then do the following:
+
+ $ gbs build -A [TARGET_ARCH] --define "%enable_streamline 1"
+
## 3. Building for MS Windows
Third party dependencies are built using vcpkg. Instructions on how to install vcpkg can be found in the
- INSTALL_CMAKE_MODULES ---> Whether to install the CMake modules (Used by the CMake command find_package() to find previously installed libraries).
- PROFILE_LCASE ---> The platform (must be windows).
- ENABLE_DEBUG ---> Whether to build with debug enabled.
+
+## 4. Building for MacOS
+
+It is assumed that the DALi environment has been set up & that DALi Core has been built accordingly.
+
+To build the repository enter the 'build/tizen' folder:
+```zsh
+% cd dali-adaptor/build/tizen
+```
+Then run the following command to set up the build:
+```zsh
+% cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX -DCMAKE_TOOLCHAIN_FILE=$VCPKG_FOLDER/scripts/buildsystems/vcpkg.cmake -DINSTALL_CMAKE_MODULES=ON -DENABLE_PROFILE=MACOS -DPROFILE_LCASE=macos
+```
+If a Debug build is required, then add `-DCMAKE_BUILD_TYPE=Debug -DENABLE_DEBUG=ON`
+
+To build, run:
+```zsh
+% make install -j8
+```