Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 8, 2009, 10:02:58 PM (16 years ago)
Author:
rgrieder
Message:
  • Corrected version info
  • Bugfix: GCC 3 warning workaround was active for other compilers than GCC
  • Bugfix: Tolua bind files for debug and release configurations had the same path in MSVC. Using separate paths now to avoid reompiling when changing the configuration.
Location:
code/branches/buildsystem2
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/CMakeLists.txt

    r2633 r2640  
    2323
    2424SET(ORXONOX_VERSION_MAJOR 0)
    25 SET(ORXONOX_VERSION_MINOR 1)
    26 SET(ORXONOX_VERSION_PATCH 0)
    27 SET(ORXONOX_VERSION 0.1.0)
     25SET(ORXONOX_VERSION_MINOR 0)
     26SET(ORXONOX_VERSION_PATCH 3)
     27SET(ORXONOX_VERSION 0.0.3)
     28SET(ORXONOX_VERSION_NAME "Castor")
    2829
    2930# Keep devs from using the root directory as binary directory (messes up the source tree)
  • code/branches/buildsystem2/cmake/BuildConfigGCC.cmake

    r2638 r2640  
    3636INCLUDE(CompareVersionStrings)
    3737COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.0.0" _compare_result)
    38 IF(NOT _compare_result LESS 0)
    39   SET(GCC_SYSTEM_HEADER_SUPPORT TRUE)
     38IF(_compare_result LESS 0)
     39  SET(GCC_NO_SYSTEM_HEADER_SUPPORT)
    4040ENDIF()
    4141
  • code/branches/buildsystem2/cmake/GenerateToluaBindings.cmake

    r2626 r2640  
    3838
    3939  SET(_tolua_pkgfile "${CMAKE_CURRENT_BINARY_DIR}/tolua.pkg")
    40   SET(_tolua_cxxfile "${CMAKE_CURRENT_BINARY_DIR}/ToluaBind${_tolua_package}.cc")
    41   SET(_tolua_hfile   "${CMAKE_CURRENT_BINARY_DIR}/ToluaBind${_tolua_package}.h")
     40  SET(_tolua_cxxfile "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/ToluaBind${_tolua_package}.cc")
     41  SET(_tolua_hfile   "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/ToluaBind${_tolua_package}.h")
    4242
    4343  SET(${_target_source_files}
  • code/branches/buildsystem2/src/CMakeLists.txt

    r2639 r2640  
    9393  ${ZLIB_INCLUDE_DIR}
    9494
    95   # Internal
    96   .
    97   orxonox
    98   # Required for tolua bind and config files that are in the binary folder
     95  # All library includes are prefixed with the path to avoid conflicts
     96  ${CMAKE_CURRENT_SOURCE_DIR}
     97  # Convenience directory
     98  ${CMAKE_CURRENT_SOURCE_DIR}/orxonox
     99  # OrxonoxConfig.h
    99100  ${CMAKE_CURRENT_BINARY_DIR}
    100   ${CMAKE_CURRENT_BINARY_DIR}/orxonox
     101  # Tolua bind files for Core
     102  ${CMAKE_CURRENT_BINARY_DIR}/core/${CMAKE_CFG_INTDIR}
     103  # Tolua bind files for Orxonox
     104  ${CMAKE_CURRENT_BINARY_DIR}/orxonox/${CMAKE_CFG_INTDIR}
    101105)
    102106
  • code/branches/buildsystem2/src/ceguilua/CMakeLists.txt

    r2634 r2640  
    5050# Create the tolua bind file. We could use the orignal file though, but it is 1.6MB...
    5151ADD_CUSTOM_COMMAND(
    52   OUTPUT ${CEGUILUA_BINARY_DIR}/lua_CEGUI.cpp
     52  OUTPUT ${CEGUILUA_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lua_CEGUI.cpp
    5353  COMMAND tolua++app_orxonox -n CEGUI
    5454                             -w ${CEGUILUA_BINARY_DIR}
    55                              -o lua_CEGUI.cpp
     55                             -o ${CMAKE_CFG_INTDIR}/lua_CEGUI.cpp
    5656                             -L exceptions.lua
    5757                             -s ${TOLUA_PARSER_SOURCE}
  • code/branches/buildsystem2/src/core/CMakeLists.txt

    r2638 r2640  
    6868GENERATE_TOLUA_BINDINGS(Core CORE_FILES INPUTFILES LuaBind.h CommandExecutor.h)
    6969
    70 IF(NOT GCC_SYSTEM_HEADER_SUPPORT)
     70IF(GCC_NO_SYSTEM_HEADER_SUPPORT)
    7171  # Get around displaying a few hundred lines of warning code
    7272  SET_SOURCE_FILES_PROPERTIES(ArgumentCompletionFunctions.cc PROPERTIES COMPILE_FLAGS "-w")
  • code/branches/buildsystem2/src/orxonox/CMakeLists.txt

    r2638 r2640  
    4040INCLUDE_DIRECTORIES(pch/nopch)
    4141
    42 IF(NOT GCC_SYSTEM_HEADER_SUPPORT)
     42IF(GCC_NO_SYSTEM_HEADER_SUPPORT)
    4343  # Get around displaying a few hundred lines of warning code
    4444  SET_SOURCE_FILES_PROPERTIES(gamestates/GSGraphics.cc PROPERTIES COMPILE_FLAGS "-w")
  • code/branches/buildsystem2/src/util/CMakeLists.txt

    r2639 r2640  
    6363)
    6464
    65 IF(NOT GCC_SYSTEM_HEADER_SUPPORT)
     65IF(GCC_NO_SYSTEM_HEADER_SUPPORT)
    6666  # Get around displaying a few hundred lines of warning code
    6767  SET_SOURCE_FILES_PROPERTIES(MultiType.cc PROPERTIES COMPILE_FLAGS "-w")
Note: See TracChangeset for help on using the changeset viewer.