From 56eb156843609f7746d21189c7808b981562999b Mon Sep 17 00:00:00 2001 From: SangJin Kim Date: Tue, 23 Feb 2016 11:32:32 +0900 Subject: [PATCH] [CLI] Add the "--rootstrap" option to "build-native" command. Change-Id: I5b2e1f8ab37f9abdf445f94e494d224b7c8015bc Signed-off-by: SangJin Kim --- .../html/native_tools/command_line_interface_n.htm | 26 ++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/org.tizen.devtools/html/native_tools/command_line_interface_n.htm b/org.tizen.devtools/html/native_tools/command_line_interface_n.htm index 1624e49..da3ea0a 100644 --- a/org.tizen.devtools/html/native_tools/command_line_interface_n.htm +++ b/org.tizen.devtools/html/native_tools/command_line_interface_n.htm @@ -118,7 +118,7 @@ Sets the default connection timeout value. The default is 60000 milliseconds.

Displays the profile templates in a list corresponding to the given sub-command.

Syntax:

Examples:

@@ -196,7 +196,7 @@ Sets the default connection timeout value. The default is 60000 milliseconds.

Syntax:

Options:

@@ -209,6 +209,8 @@ Sets the default connection timeout value. The default is 60000 milliseconds.

Specifies the build configuration.

  • -j, --jobs:

    Specifies the number of parallel builds for the native application.

  • +
  • -r, --rootstrap: +

    Specifies the rootstrap name. The rootstrap has the information of the architecture type and the compiler. So if you use this option with the -C (--configuration) option, you can build a native project without other options.

  • --:

    Specifies the project directory.

  • @@ -216,14 +218,30 @@ Sets the default connection timeout value. The default is 60000 milliseconds.

  • Builds the project with the llvm compiler and the debug mode. The x86 executable named basic is generated, if the project is built successfully:

    -  $ tizen build-native -–arch x86 –-compiler llvm –-configuration Debug -- /home/workspace/basic
    +  $ tizen build-native --arch x86 --compiler llvm --configuration Debug -- /home/workspace/basic
       $ ls /home/workspace/basic/Debug/
     
    +
    +  $ tizen list rootstrap
    +  [ROOTSTRAP]                              [INFORMATION]
    +  mobile-2.4-emulator.core                 Mobile 2.4, i386
    +  mobile-2.4-device.core                   Mobile 2.4, armel
    +  $ tizen build-native --rootstrap mobile-2.4-device.core --configuration Release -- /home/workspace/basic
    +  $ ls /home/workspace/basic/Release/
    +

    Or for Windows:

    -  > tizen.bat build-native -–arch x86 –-compiler llvm –-configuration Debug -- C:\Users\workspace\basic
    +  > tizen.bat build-native --arch x86 --compiler llvm --configuration Debug -- C:\Users\workspace\basic
       > dir C:\Users\workspace\basic\Debug
     
    +
    +  > tizen.bat list rootstrap
    +  [ROOTSTRAP]                              [INFORMATION]
    +  mobile-2.4-emulator.core                 Mobile 2.4, i386
    +  mobile-2.4-device.core                   Mobile 2.4, armel
    +  > tizen.bat build-native --rootstrap mobile-2.4-device.core --configuration Release -- C:\Users\workspace\basic
    +  > dir C:\Users\workspace\basic\Release
    +
  • Builds the project with the default options:

    -- 
    2.7.4