From: Eunki, Hong Date: Thu, 23 Feb 2023 14:18:46 +0000 (+0900) Subject: Add BUILD_EXAMPLE_NAME option explain for README.md X-Git-Tag: dali_2.2.15~1 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-demo.git;a=commitdiff_plain;h=38b87ec05860401c3dcbf20d047aa0b55ea5841a Add BUILD_EXAMPLE_NAME option explain for README.md Change-Id: I9cc144ca6ee0c83056c311a418424b1ddd3da65a Signed-off-by: Eunki, Hong --- diff --git a/README.md b/README.md index 74affe9..720d60f 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,13 @@ Before running make install as normal: $ make install -j8 +### Build Only specific sample + +You can set the sample's name and can build that sample only. For example, If you want to build 'hello-world', + + $ cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX -DBUILD_EXAMPLE_NAME=hello-world + $ make install -j9 + ## 2. GBS Builds ### NON-SMACK Targets @@ -70,6 +77,10 @@ Before running make install as normal: $ gbs build -A [TARGET_ARCH] --define "%rpi_style 1" +### Build specific sample only + + $ gbs build -A [TARGET_ARCH] --define "build_example_name hello-world" + # Creating an example - Make a directory in the "examples" directory. Only one example will be created per directory. @@ -162,6 +173,7 @@ vcpkg-script folder in the windows-dependencies repository. - INTERNATIONALIZATION ---> Whether to generate and install internazionalization '.po' Portable Object files. - CMAKE_INSTALL_PREFIX ---> Were DALi is installed. - ENABLE_DEBUG ---> Whether to build with debug enabled. + - BUILD_EXAMPLE_NAME ---> The name of sample what you want to build. To reduce the memory of rpm file, we didn't copy resources now. * If dali-toolkit has been compiled with the USE_DEFAULT_RESOURCE_DIR option disabled then is needed to set global environment variables in order to find the default toolkit resources.