Building Tizen C++11 Project Using Command Line Interface

Original Created Feb 21, 2017 | Regeneration Apr 22, 2026

Is it possible to build a Tizen project written in C++ with C++11 standard features using the command line interface (CLI)? I would appreciate any guidance on this matter.

Problem Understanding

The user wants to know if they can compile a Tizen native application written in C++ (using C++11 features) through command line tools rather than using the Tizen Studio IDE.

Solution Methods

  1. Yes, you can build Tizen C++ projects with C++11 support using the command line interface. The Tizen CLI tools provide this capability.

  2. To enable C++11 features, you need to:

    • Add -std=c++11 to your compiler flags in the project configuration
    • Use the Tizen CLI build tools (tizen build-native) for compilation
  3. For detailed instructions, refer to the official documentation on building native applications via CLI.

Code Examples

To add C++11 support in your project's CMakeLists.txt:

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

Additional Tips

  • Make sure you have the Tizen CLI tools properly installed and configured
  • Verify your Tizen SDK version supports C++11 features
  • For more information, visit the official documentation at Samsung Tizen OS Developer Resources

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.