Configuring Build Options

From Stellarium Wiki
Revision as of 03:30, 8 August 2012 by Alexwolf (Talk | contribs)
Jump to: navigation, search

Contents

Introduction

Configuring Build Options

CMAKE_BUILD_TYPE

Possible values: None, Debug, GProf, Valgrind, Release, RelWithDebInfo, MinSizeRel.

Default value: Debug

Debug

This option is enable the debug mode - binary package includes debug chars; this mode is default for developers.

GProf

This option is enable support for GNU gprof profiler - binary package includes debug chars for profiler; this mode is for developers.

Valgrind

This option is enable support for Valgring tool - binary package includes debug chars for memory debugging, memory leak detection, and profiling; this mode is for developers.

Release

This option is enable the release mode - binary package not include debug chars; this mode is default for users.

CMAKE_INSTALL_PREFIX

This option enable prefix for install of binary package. On Linux default location for software, building from source code, is /usr/local but if you want install software into /opt you need use CMAKE_INSTALL_PREFIX=/opt

CMAKE_C_COMPILER

This option set custom path to C compiler. As example you have installed GCC and Clang; For using Clang compiler you need use CMAKE_C_COMPILER=/usr/bin/clang

CMAKE_CXX_COMPILER

This option set custom path to C++ compiler. As example you have installed GCC and Clang; For using Clang compiler you need use CMAKE_CXX_COMPILER=/usr/bin/clang

OPTIMIZE_INTEL_ATOM

Default value: 0.

This option enable optimization for Atom processors.

BUILD_FOR_MAEMO

Default value: 0.

This option enable building Stellarium for Maemo devices and enable optimization for ARM processors.

ENABLE_NLS

Default value: 1.

This option activate translation with gettext.

ENABLE_SOUND

Default value: 0.

This option activate sound support.

ENABLE_SCRIPTING

Default value: 1.

This option activate scripting feature.

ENABLE_SCRIPT_CONSOLE

Default value: 1.

This option activate the script edit console.

ENABLE_STRATOSCRIPT_COMPAT

Default value: 0.

This option enable the StratoScript compatibility mode.

RELEASE_BUILD

Default value: 1.

This option flag this build as an official release.

BZR_REVISION

This option used together with RELEASE_BUILD option and set Bazaar's revision for package.

BUILD_STATIC_PLUGINS

Default value: 1.

This option define that plugins should be compiled statically and linked to the main program. If this option has value 1 then for BUILD_DYNAMIC_PLUGINS should be value 0.

BUILD_DYNAMIC_PLUGINS

Default value: 0.

This option define that plugins should be compiled dynamically. If this option has value 1 then for BUILD_STATIC_PLUGINS should be value 0.

USE_PLUGIN_HELLOSTELMODULE

Default value: 0.

This option define that the HelloStelModule plugin should be built.

USE_PLUGIN_ANGLEMEASURE

Default value: 1.

This option define that the Angle Measure plugin should be built.

USE_PLUGIN_COMPASSMARKS

Default value: 1.

This option define that the Compass Marks plugin should be built.

USE_PLUGIN_SATELLITES

Default value: 1.

This option define that the Satellites plugin should be built.

USE_PLUGIN_TELESCOPECONTROL

Default value: 1.

This option define that the Telescope Control plugin should be built.

USE_PLUGIN_LOGBOOK

Default value: 0.

This option define that the LogBook plugin should be built.

USE_PLUGIN_OCULARS

Default value: 1.

This option define that the Oculars plugin should be built.

USE_PLUGIN_SVMT

Default value: 0.

This option define that the SVMT plugin should be built.

USE_PLUGIN_TEXTUSERINTERFACE

Default value: 1.

This option define that the Text User Interface plugin should be built.

USE_PLUGIN_TIMEZONECONFIGURATION

Default value: 1.

This option define that the Time Zone Configuration plugin should be built.

USE_PLUGIN_VIRGO

Default value: 0.

This option define that the VirGO plugin should be built.

USE_PLUGIN_SOLARSYSTEMEDITOR

Default value: 1.

This option define that the Solar System Editor plugin should be built.

USE_PLUGIN_SUPERNOVAE

Default value: 1.

This option define that the Historical Supernovae plugin should be built.

USE_PLUGIN_QUASARS

Default value: 1.

This option define that the Quasars plugin should be built.

USE_PLUGIN_PULSARS

Default value: 1.

This option define that the Pulsars plugin should be built.

USE_PLUGIN_EXOPLANETS

Default value: 1.

This option define that the Exoplanets plugin should be built.

OPENGL_MODE

Possible values: Desktop, ES2

Default value: Desktop.

This option define mode to supporting OpenGL version - OpenGL for desktops or OpenGL ES

Build Options

Personal tools
Namespaces
Variants
Actions
in this wiki
other languages
Toolbox