Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 12 and Version 13 of code/Buildsystem


Ignore:
Timestamp:
May 15, 2011, 3:59:50 AM (13 years ago)
Author:
rgrieder
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/Buildsystem

    v12 v13  
    3636{{{ cmake -D MYVALUE=TRUE .. }}}
    3737If you wish to have more options than listed here, you will have to consult an Orxonox developer or the CMake online docs.
    38 || Variable Name || Default Value || Description ||
    39 || CEGUILUA_USE_EXTERNAL_LIBRARY || false || Usually we supply the correct version (regarding the CEGUI version) of the CEGUI script libraries with the source repository. This eliminates the essential need to link CEGUILua and Orxonox against the same Lua version (5.0 or 5.1, subversion shouldn't matter). If you want to use your own CEGUILua library, activate this switch. BUT BE SURE TO KNOW WHICH VERSION OF LUA IS WAS LINKED AGAINST. Tests have shown that non concurring versions result in immediate crashes. ||
    40 || CMAKE_INSTALL_PREFIX || /usr (Unix), %ProgramFiles%\Orxonox (Windows) || Where you would like to install Orxonox. See the install section below for more information. ||
    41 || DEPENDENCY_PACKAGE_ENABLE || false (Unix), true (Windows) || Use a package of precompiled dependencies. This only works if there is already a PackageConfigX.cmake file in the "cmake" folder. Currently we deploy such packages for MSVC and MinGW on Windows, where this option is on per default. ||
    42 || DEPENDENCY_PACKAGE_DIR || ../dependencies/ or dependencies/ from the source dir || The directory in which the precompiled dependencies can be found. That path has to contain the "include" folder ||
    43 || EXTRA_COMPILER_WARNINGS || false || "--Wextra --Wno-unused-parameter" for GCC and "-W4" on MSVC ||
    44 || INSTALL_COPYABLE || false (Unix), true (Windows) || Use relative paths for the installation version. See below in the Installation section for more information. ||
    45 || LINK_XYZ_DYNAMIC (Windows) || all true || When importing libraries on Windows, you need to specify preprocessor macros to link dynamically/statically. Without regard to the default (no macro defined), Orxonox always links dynamically. If you have a static library, for instance enet.a (or enet.lib) then you need to set LINK_ENET_DYNAMIC to false. ||
    46 || EXTERNAL_DATA_DIRECTORY || data_extern/ or ../data_extern/ from the src/ directory || Specifies the location of the media files (textures, scripts, maps, etc.). The search routine looks for "resources.oxr" ||
    47 || OGRE_PLUGINS || Plugin_ParticleFX (and Plugin_CgProgramManager on Windows) || List of all the required OGRE plugins. Render systems are not included, they get found automatically. Note that all the plugins of the same build type (debug/release) need to be in the same location. ||
    48 || TOLUA_PARSER_RELEASE || false || Omits compiling debug messages for the Lua/C++ interface. The option (if set to true) is only active in the release configurations. ||
    49 || USER_SCRIPT_BUILD_CONFIG || empty || Specify a file to a script that contains additional build configuration code (usually for a specific compiler). ||
    50 || USER_SCRIPT_LIBRARY_CONFIG || empty || Like above, but gets included earlier before finding the libraries. ||
    51 || VISUAL_LEAK_DETECTOR_ENABLE (MSVC) || false || Enable including the Visual Leak detector in every source file to help tracking memory leaks. This option is only available when using Visual Studio and you need to have the library configured (global included and library folder set ||
     38
     39|| Variable Name || Availability || Default Value || Description ||
     40
     41|| CMAKE_INSTALL_PREFIX || || /usr (UNIX), %ProgramFiles%\Orxonox (Windows) || Where you would like to install Orxonox. See the install sections below for more information ||
     42
     43|| DEPENDENCY_PACKAGE_DIR || Windows, OS X || ../dependencies/ or dependencies/ relative to the source dir || The directory in which the precompiled dependencies can be found (version.txt has to be there!) ||
     44
     45|| DISABLE_COMPILATIONS || || false || Disables compiling multiple designated source files as a single translation unit ||
     46
     47|| EXTRA_COMPILER_WARNINGS || || false || "--Wextra --Wno-unused-parameter" for GCC and "-W4" for MSVC ||
     48
     49|| INSTALL_COPYABLE || || false (Unix), true (Windows) || Use relative paths for the installation version. See below in the Installation section for more information. ||
     50
     51|| EXTERNAL_DATA_DIRECTORY || || data_extern/ or ../data_extern/ from the src/ directory || Specifies the location of the media files (textures, scripts, maps, etc.). The search routine looks for "resources.oxr" ||
     52
     53|| USER_SCRIPT_LIBRARY_CONFIG || || empty || Like above, but gets included earlier before finding the libraries. ||
     54
     55|| VISUAL_LEAK_DETECTOR_ENABLE (MSVC) || || false || Enable including the Visual Leak detector in every source file to help tracking memory leaks. This option is only available when using Visual Studio and you need to have the library configured (global included and library folder set ||
    5256
    5357== Installation ==