From: Jihoon Song Date: Fri, 31 Jul 2015 12:17:35 +0000 (+0900) Subject: DOC: Added a project converion document for CLI X-Git-Tag: tizen_3.0/TD_SYNC/20161201~648^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18498712b123114ed56a2b23fb1cd4641c6e375c;p=sdk%2Fonline-doc.git DOC: Added a project converion document for CLI Change-Id: I93d40176ff3b9a820dcf8216fab956e4aa0a3187 Signed-off-by: Jihoon Song --- diff --git a/org.tizen.devtools/html/index.htm b/org.tizen.devtools/html/index.htm index e249a85..24e4900 100644 --- a/org.tizen.devtools/html/index.htm +++ b/org.tizen.devtools/html/index.htm @@ -81,7 +81,11 @@
  • PO File Editor
  • UI Builder
  • Enventor
  • -
  • Command Line Interface
  • +
  • Command Line Interface + +
  • Call Stack View
  • Dynamic Analyzer
      diff --git a/org.tizen.devtools/html/native_tools/project_conversion_n.htm b/org.tizen.devtools/html/native_tools/project_conversion_n.htm new file mode 100644 index 0000000..0f61bec --- /dev/null +++ b/org.tizen.devtools/html/native_tools/project_conversion_n.htm @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + Project Conversion for CLI + + + + +
      +
      +

      Mobile native Wearable native

      +
      +
      + +
      + +

      Project Conversion for CLI

      + +

      The Tizen SDK provides a method for building an IDE-created project by CLI:

      + +
        +
      1. Select a Tizen native project in the Project Explorer View of the IDE.
      2. +
      3. Open the context menu by right-click, and select 'Export to CLI Project'.
      4. +
      + +

      When the export is completed, 'make' files in 'Build' folder and 'project_def.prop' file which has many build options, will be added to the converted CLI project.

      + +

      And then you can build a converted project by the following CLI command.

      + +
      +  $ tizen build-native -–arch x86 –-compiler llvm –-configuration Debug -- /home/workspace/basic
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + Table: Properties in 'project_def.prop' file +
      KeyValue
      APPNAMEIt is the app name. It must be written in lowercase letters.

      ex) APPNAME = test
      typeSelect the application type in app, sharedLib, staticLib

      ex) type = app
      profileSelect the profile with version.

      ex) profile = mobile-2.3
      USER_SRCSIt is a list of '.c', '.cpp' source files in the current project.
      It can be used with wildcard characters like '*'.
      If more than two files, a separator is a white-space character.

      ex) USER_SRCS = src/*.c
      USER_DEFSIt is a list of user-defined C files added to the compilation process.
      It must be used without -D characters for C compiler.

      ex) USER_DEFS = ABC DEF
      USER_UNDEFSIt is a list of user-defined C files excluded from the compilation process.
      It must be used without -U characters for C compiler.
      USER_CPP_DEFSIt is a list of user-defined C++ files added to the compilation process.
      It must be used without -D characters for C++ compiler.
      USER_CPP_UNDEFSIt is a list of user-defined C++ files excluded from the compilation process.
      It must be used without -U characters for C++ compiler.
      USER_LIBSIt is a list of the library paths added to the linking process.
      It must be used without -l characters.
      USER_OBJSIt is a path list of the '.o' files added to the linking process.
      USER_OBJS_ABSIt is a absolute path list of the '.o' files added to the linking process.
      It is recommended to use $(workspace_loc) for IDE compatibility.
      USER_INC_DIRSIt is a path list of references for C compiling.
      It must be used without -I characters.

      ex) USER_INC_DIRS = inc
      USER_INC_DIRS_ABSIt is an absolute path list of references for C compiling.
      It must be used without -I characters.
      It is recommended to use $(workspace_loc) for IDE compatibility.

      ex) USER_INC_DIRS_ABS = $(workspace_loc)/extlib/lib
      USER_INC_FILESIt is a path list of '.h' files for C.
      It must be used without -include characters.
      USER_INC_FILES_ABSIt is an absolute path list of '.h' files for C.
      It must be used without -include characters.
      It is recommended to use $(workspace_loc) for IDE compatibility.
      USER_CPP_INC_DIRSIt is a path list of references for C++ compiling.
      It must be used without -I characters.
      USER_CPP_INC_DIRS_ABSIt is an absolute path list of references for C++ compiling.
      It must be used without -I characters.
      It is recommended to use $(workspace_loc) for IDE compatibility.
      USER_CPP_INC_FILESIt is a path list of '.h' files for C++.
      It must be used without -include characters.
      USER_CPP_INC_FILES_ABSIt is an absolute path list of '.h' files for C++.
      It must be used without -include characters.
      It is recommended to use $(workspace_loc) for IDE compatibility.
      USER_LIB_DIRSIt is a path list of references for the library linking.
      It must be used without -L characters.
      USER_LIB_DIRS_ABSIt is an absolute path list of references for the library linking.
      It must be used without -L characters.
      It is recommended to use $(workspace_loc) for IDE compatibility.
      USER_EDCSIt is a path list of '.edc' files.
      It can be used with wildcard characters like '*'.
      If more than two files, a separator is a white-space character.

      ex) USER_EDCS = res/edje/*.edc
      USER_EDCS_IMAGE_DIRSIt is a path list of EDC references for compiling like '-id' option of the IDE.
      USER_EDCS_IMAGE_DIRS_ABSIt is an absolute path list of EDC references for compiling like '-id' option of the IDE.
      It is recommended to use $(workspace_loc) for IDE compatibility.
      USER_EDCS_SOUND_DIRSIt is a path list of EDC references for compiling like '-sd' option of the IDE.
      USER_EDCS_SOUND_DIRS_ABSIt is an absolute path list of EDC references for compiling like '-sd' option of the IDE.
      It is recommended to use $(workspace_loc) for IDE compatibility.
      USER_EDCS_FONT_DIRSIt is a path list of EDC references for compiling like '-fd' option of the IDE.
      USER_EDCS_FONT_DIRS_ABSIt is an absolute path list of EDC references for compiling like '-fd' option of the IDE.
      It is recommended to use $(workspace_loc) for IDE compatibility.
      USER_POSIt is a path list of '.po' files.
      It can be used with wildcard characters like '*'.
      If more than two files, a separator is a white-space character.

      ex) USER_POS = res/po/*.po
      + + + + + + + + + + +
      Note
      The converted CLI project cannot be reconverted to the IDE-based project.
      + + + + +
      + +Go to top + + + + + + + +