Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 12, 2009, 4:18:11 PM (15 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/CMakeLists.txt

    r2583 r2588  
    4545SET(Boost_ADDITIONAL_VERSIONS 1.37 1.37.0 CACHE STRING "")
    4646FIND_PACKAGE(Boost 1.34 REQUIRED thread filesystem)
     47# With MSVC, automatic linking is performed for boost. So wee need to tell
     48# the linker where to find them. Also note that when running FindBoost for the
     49# first time, it will set ${Boost_LIBRARIES} to "" but afterwards to the libs.
     50IF (MSVC)
     51  LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
     52ENDIF (MSVC)
    4753FIND_PACKAGE(OGRE REQUIRED)
    4854FIND_PACKAGE(CEGUI REQUIRED)
Note: See TracChangeset for help on using the changeset viewer.