X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=README.md;h=f1987699fff1bc8ee84ff9ffa9a39b11febbc146;hb=refs%2Fheads%2Fmaster;hp=e3bed278187e8f47837004e704bddd6b195e00df;hpb=156fafbe0c9162299c0f3b875ca47522f8908364;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/README.md b/README.md index e3bed27..f198769 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,11 @@ * [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 @@ -56,6 +58,13 @@ See the README.md in dali-adaptor/automated-tests. $ 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 @@ -101,3 +110,22 @@ vcpkg-script folder in the windows-dependencies repository. - 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 +```