Creating NaCl-enabled Projects


This topic describes how to create a TV application project with Native Client support enabled, which allows you to develop the TV application and its Native Client modules simultaneously.

With the Tizen Studio, you can create a TV application project linked to 1 or more Native Client (NaCl) projects, so you can develop the TV application and the NaCl modules at the same time. You can create a new TV application project with NaCl enabled, or add NaCl support to an existing TV application project.

Prerequisites

To develop NaCl-enabled TV applications, install the Tizen Studio with the Samsung NaCl SDK.

Creating NaCl-enabled TV Applications

To create a NaCl-enabled TV application project:

  1. In the Tizen Studio main menu, select "File > New > Tizen Project".

  2. Select "Template" or "Sample", and click "Next".

    Figure 1. Select project type

  3. Select the profile ("Custom") and version from the drop-down list and click "Next".
    The available versions depend on the platform version you have installed and are using to develop the application.

    Figure 2. Select profile and version

  4. Select the "Web Application" application type, fill the "NaCl (C/C++)" check box, and click "Next".

    Figure 3. Select application type

  5. Select a template or sample, and click "Next".
    The Tizen Project Wizard creates the project based on the selected template or sample.

    Figure 4. Select application template

  6. Define the project properties and click "Next".

    Figure 5. Define project properties

  7. Select the NaCl toolchain that you want to use for building NaCl modules, and click "Finish".
    If the toolchain you want is not installed, select it from the list and click "Download" to install it.

    Figure 6. Select toolchain


Adding NaCl Support to a Project

To enable NaCl support on an existing TV application project:

  1. In the Tizen Studio "Project Explorer" view, right-click the project you want to add NaCl support to.
  2. Select "Configure > Enable NaCl support".
  3. Select the NaCl toolchain that you want to use for building NaCl modules, and click "OK".
    If the toolchain you want is not installed, select it from the list and click "Download" to install it.