-
Notifications
You must be signed in to change notification settings - Fork 16
ConfigReference
Alessandro Febretti edited this page Jun 7, 2013
·
1 revision
Omegalib libraries and basic can be compiled out of the box without needing any external libraries. Optionally, support for external graphic libraries and toolkits can be added by enabling the specific options inside CMake, and configuring the libraries accordingly.
Omegalib has been tested with Python 2.7
todo
todo
-
OMEGA_USE_DISPLAYEnable if you want to write applications that use omegalib to handle graphics. -
OMEGA_BUILD_APPSEnable to build applications, demos and examples included with the omegalib distribution -
OMEGA_BUILD_STATIC(Experimental) When selected, omegalib will be built as a static library. -
OMEGA_USE_PYTHONEnable python support inside omegalib. You need a python library distribution installed -
OMEGA_BUILD_VTK_LIBEnable to build the vtk support library. Vtk applications will be built as well ifOMEGA_BUILD_APPSis enabled -
OMEGA_BUILD_OSG_LIBEnable to build the Open Scene Graph support library. Osg applications will be built as well ifOMEGA_BUILD_APPSis enabled -
OMEGA_BUILD_QT_LIBEnable to build the Qt support library. Qt applications will be built as well ifOMEGA_BUILD_APPSis enabled
The following preprocessor definitions are generated by cmake for all the projects that are part of the omegalib distribution. Definitions identifying the operating system
OMEGA_OS_WINOMEGA_OS_OSX-
OMEGA_OS_LINUXDefinitions identifying 64 bit builds OMEGA_ARCH_WIN32OMEGA_ARCH_WIN64OMEGA_ARCH_I386-
OMEGA_ARCH_AMD64(Note: this may be changed in the future to a simpler system) Definitions identifying the build toolset OMEGA_TOOL_VS9OMEGA_TOOL_VS10OMEGA_TOOL_XCODEOMEGA_TOOL_GCC