Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 12, 2009, 4:18:11 PM (16 years ago)
Author:
rgrieder
Message:

Visual Studio generator working for all build types. Compiles but does not run yet.

  • Had to define some export symbols
  • tinyxml and cpptcl have to be linked statically
  • some other libraries can be linked shared that were linked statically for windows (now for mingw only)
  • added two macros: ADD_CXX_FLAG(_flag _condition) and ADD_C_FLAG(_flag _condition)
File:
1 edited

Legend:

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

    r2583 r2588  
    1818
    1919WRITE_SOURCE_FILES(NETWORK_SRC_FILES)
    20 IF(WIN32)
     20
     21IF(MINGW)
    2122  ADD_LIBRARY( network ${NETWORK_SRC_FILES} )
    22 ELSE(WIN32)
     23ELSE(MINGW)
    2324  ADD_LIBRARY( network SHARED ${NETWORK_SRC_FILES} )
    24 ENDIF(WIN32)
     25ENDIF(MINGW)
    2526
    26 TARGET_LINK_LIBRARIES( network
     27SET_TARGET_PROPERTIES(network PROPERTIES DEFINE_SYMBOL "NETWORK_SHARED_BUILD")
     28TARGET_LINK_LIBRARIES(network
    2729  ${ZLIB_LIBRARY}
    2830  ${ENET_LIBRARY}
Note: See TracChangeset for help on using the changeset viewer.