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/src/tinyxml/CMakeLists.txt

    r2579 r2588  
    77)
    88
    9 ADD_LIBRARY(tinyxml_orxonox SHARED ${TINYXML_SRC_FILES})
     9IF(MSVC)
     10  ADD_LIBRARY(tinyxml_orxonox STATIC ${TINYXML_SRC_FILES})
     11ELSE(MSVC)
     12  ADD_LIBRARY(tinyxml_orxonox SHARED ${TINYXML_SRC_FILES})
     13ENDIF(MSVC)
    1014
    1115IF (NOT WIN32)
Note: See TracChangeset for help on using the changeset viewer.