Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 29, 2009, 11:35:54 PM (15 years ago)
Author:
rgrieder
Message:

This commit gets a little ugly, couldn't separate that anymore:

  • Renamed UseTolua.cmake to GenerateLuaBindings.cmake
  • Applied the macros for compiler flags, linker flags, header files and source groups Updated the whole build tree for that
  • Created real compiler config scripts (BuildConfigGCC.cmake and BuildConfigMSVC.cmake)
  • Large scale clean up in BuildConfig.cmake
  • You can now specify your own LibraryConfig and BuildConfig script via CMake Cache
  • Lots of small changes and fixes
File:
1 edited

Legend:

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

    r2588 r2621  
    1 ADD_SOURCE_FILES(
     1SET_SOURCE_FILES(CORE_SRC_FILES
    22  Clock.cc
    33  ConfigFileManager.cc
     
    4242  TclThreadManager.cc
    4343)
     44ADD_SUBDIRECTORY(input)
     45GET_ALL_HEADER_FILES(CORE_HDR_FILES)
     46SET(CORE_FILES ${CORE_SRC_FILES} ${CORE_HDR_FILES})
    4447
    45 ADD_SOURCE_DIRECTORY(input)
     48GENERATE_SOURCE_GROUPS(${CORE_FILES})
     49GENERATE_TOLUA_BINDINGS(Core CORE_FILES INPUTFILES LuaBind.h CommandExecutor.h)
    4650
    47 WRITE_SOURCE_FILES(CORE_SRC_FILES)
    48 
    49 TOLUA(Core CORE_SRC_FILES INPUTFILES LuaBind.h CommandExecutor.h)
    50 
    51 ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
     51ADD_LIBRARY(core SHARED ${CORE_FILES})
    5252
    5353SET_TARGET_PROPERTIES(core PROPERTIES DEFINE_SYMBOL "CORE_SHARED_BUILD")
     
    5959  cpptcl_orxonox
    6060  ois_orxonox
    61   tinyxml_orxonox
    62   tolualib_orxonox
     61  tinyxml++_orxonox
     62  tolua++_orxonox
    6363  util
    6464)
Note: See TracChangeset for help on using the changeset viewer.