Commit 38b87ec05860401c3dcbf20d047aa0b55ea5841a
1 parent
0ee64499
Add BUILD_EXAMPLE_NAME option explain for README.md
Change-Id: I9cc144ca6ee0c83056c311a418424b1ddd3da65a Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Showing
1 changed file
with
12 additions
and
0 deletions
README.md
| ... | ... | @@ -52,6 +52,13 @@ Before running make install as normal: |
| 52 | 52 | |
| 53 | 53 | $ make install -j8 |
| 54 | 54 | |
| 55 | +### Build Only specific sample | |
| 56 | + | |
| 57 | +You can set the sample's name and can build that sample only. For example, If you want to build 'hello-world', | |
| 58 | + | |
| 59 | + $ cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX -DBUILD_EXAMPLE_NAME=hello-world | |
| 60 | + $ make install -j9 | |
| 61 | + | |
| 55 | 62 | ## 2. GBS Builds |
| 56 | 63 | |
| 57 | 64 | ### NON-SMACK Targets |
| ... | ... | @@ -70,6 +77,10 @@ Before running make install as normal: |
| 70 | 77 | |
| 71 | 78 | $ gbs build -A [TARGET_ARCH] --define "%rpi_style 1" |
| 72 | 79 | |
| 80 | +### Build specific sample only | |
| 81 | + | |
| 82 | + $ gbs build -A [TARGET_ARCH] --define "build_example_name hello-world" | |
| 83 | + | |
| 73 | 84 | # Creating an example |
| 74 | 85 | |
| 75 | 86 | - 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. |
| 162 | 173 | - INTERNATIONALIZATION ---> Whether to generate and install internazionalization '.po' Portable Object files. |
| 163 | 174 | - CMAKE_INSTALL_PREFIX ---> Were DALi is installed. |
| 164 | 175 | - ENABLE_DEBUG ---> Whether to build with debug enabled. |
| 176 | + - 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. | |
| 165 | 177 | |
| 166 | 178 | * 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. |
| 167 | 179 | ... | ... |