Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2009, 6:11:32 PM (15 years ago)
Author:
rgrieder
Message:

Merged the build system changes from the Gruppenarbeit:

  • More Comments (including Doxygen stuff for the config files)
  • Removed redundancy between PackageConfigMSVC.cmake and PackageConfigMinGW.cmake
  • Option ORXONOX_RELEASE which activates some expensive (build time) optimisations
  • Native Visual Leak Detector support (doesn't work for MSVC9 though)
  • Added CMake option to disable the console on Windows
Location:
code/branches/pch/src/orxonox
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/orxonox/CMakeLists.txt

    r3117 r3167  
    3333ADD_SUBDIRECTORY(tools)
    3434
     35# Translate argument
     36IF(ORXONOX_USE_WINMAIN)
     37  SET(ORXONOX_WIN32 WIN32)
     38ENDIF()
     39
    3540ORXONOX_ADD_EXECUTABLE(orxonox
    3641  FIND_HEADER_FILES
     
    4449    OrxonoxPrecompiledHeaders.h
    4550  PCH_NO_DEFAULT
     51  # When defined as WIN32 this removes the console window on Windows
     52  ${ORXONOX_WIN32}
    4653  LINK_LIBRARIES
    4754    ${OGRE_LIBRARY}
     
    8592  STRING(REGEX REPLACE "^Visual Studio ([0-9][0-9]?) .*$" "\\1"
    8693         VISUAL_STUDIO_VERSION_SIMPLE "${CMAKE_GENERATOR}")
    87   CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/orxonox.vcproj.user" "${CMAKE_CURRENT_BINARY_DIR}/orxonox.vcproj.user")
     94  CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/orxonox.vcproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/orxonox.vcproj.user")
    8895ENDIF(MSVC)
  • code/branches/pch/src/orxonox/Main.cc

    r3110 r3167  
    2828 */
    2929 
    30  /**
    31  @mainpage Orxonox Documentation
    32  */
    33 
    34  /**
    35  @file
    36  @brief Entry point of the program.
    37   */
     30/**
     31@file
     32@brief
     33    Entry point of the program.
     34*/
    3835
    3936#include "OrxonoxConfig.h"
     
    4744    Main method. Game starts here (except for static initialisations).
    4845*/
     46#ifdef ORXONOX_USE_WINMAIN
     47INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT)
     48#else
    4949int main(int argc, char** argv)
     50#endif
    5051{
    5152    {
  • code/branches/pch/src/orxonox/sound/SoundBase.h

    r3157 r3167  
    3030
    3131#include "OrxonoxPrereqs.h"
     32#include <cstring> // define NULL
    3233
    3334namespace orxonox
Note: See TracChangeset for help on using the changeset viewer.