Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 8, 2009, 10:02:58 PM (15 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/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 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.