Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 29, 2009, 11:35:54 PM (16 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
Location:
code/branches/buildsystem2/src/network
Files:
2 edited

Legend:

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

    r2588 r2621  
    1 ADD_SOURCE_FILES(
     1SET_SOURCE_FILES(NETWORK_SRC_FILES
    22  ChatListener.cc
    33  Client.cc
     
    1414  Host.cc
    1515)
     16ADD_SUBDIRECTORY(packet)
     17GET_ALL_HEADER_FILES(NETWORK_HDR_FILES)
     18SET(NETWORK_FILES ${NETWORK_SRC_FILES} ${NETWORK_HDR_FILES})
    1619
    17 ADD_SOURCE_DIRECTORY(packet)
    18 
    19 WRITE_SOURCE_FILES(NETWORK_SRC_FILES)
     20GENERATE_SOURCE_GROUPS(${NETWORK_FILES})
    2021
    2122IF(MINGW)
    22   ADD_LIBRARY( network ${NETWORK_SRC_FILES} )
     23  ADD_LIBRARY(network ${NETWORK_FILES})
    2324ELSE(MINGW)
    24   ADD_LIBRARY( network SHARED ${NETWORK_SRC_FILES} )
     25  ADD_LIBRARY(network SHARED ${NETWORK_FILES})
    2526ENDIF(MINGW)
    2627
  • code/branches/buildsystem2/src/network/packet/CMakeLists.txt

    r2518 r2621  
    1 ADD_SOURCE_FILES(
     1ADD_SOURCE_FILES(NETWORK_SRC_FILES
    22  Packet.cc
    33  Chat.cc
Note: See TracChangeset for help on using the changeset viewer.