본문 바로가기

Others/tizen

CLI (Command Line Inteface) 를 이용한 build

반응형

Tizen 개발 툴중에 CLI라는 것이 있습니다.


Command Line으로 조작할 수 있도록 제공하는 기능인데요.


자세한 내용은 아래 page로 들어가 보시면 확인 할 수 있습니다.

https://developer.tizen.org/development/tools/native-tools/command-line-interface




Tizen IDE에서 현재 프로젝트를 CLI 로 Export 시킬 수 있는 메뉴가 있습니다. (Export to CLI project를 선택하면 됩니다.)



cli를 실행시킬수 있는 프로그램은  <Tizen SDK>/tools/ide/bin 에 위치 합니다.

실행 명령어는 tizen 입니다.


ex) tizen build-native -a arm -c gcc -C Debug 

       tizen tizen-native -a x86 -c gcc -C Debug




build 형식


  tizen build-native [-a {x86|arm}] [-c {gcc|llvm}] 
                     [-C {Debug|Release}] [--]

  • -a, --arch:

    Specifies the architecture type.

  • -c, --compiler:

    Specifies the compiler. You can use this option with the following compiler versions: gcc-4.9 and llvm-3.6

  • -C, --configuration:

    Specifies the build configuration.

  • --:

    Specifies the project directory.



create 형식
  tizen create native-project [-p <profile name>] [-t <predefined template>] 
                              [-n <project name>] [-- <project location>]

  • -p, --profile:

    Specifies the profile name.

  • -t, --template:

    Specifies the template name.

  • -n, --name:

    Specifies the project name.

  • --:

    Specifies the destination directory where the project is created.



  

Tizen SDK의 ide가 아닌 다른 IDE나 editor를  사용한다면 CLI를 이용해서 build 까지 customizing 해서 사용할 수 있습니다.



'Others > tizen' 카테고리의 다른 글

EFL: event flow control (이벤트 흐름 제어)  (0) 2016.08.25
tpk install, 설치  (0) 2014.05.28
Tizen::Content::ContentSearch 사용하기  (1) 2010.05.19