Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/tinyxml/CMakeLists.txt @ 2588

Last change on this file since 2588 was 2588, checked in by rgrieder, 15 years ago

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)
  • Property svn:eol-style set to native
File size: 343 bytes
Line 
1SET( TINYXML_SRC_FILES
2  ticpp.cc
3  tinystr.cc
4  tinyxml.cc
5  tinyxmlerror.cc
6  tinyxmlparser.cc
7)
8
9IF(MSVC)
10  ADD_LIBRARY(tinyxml_orxonox STATIC ${TINYXML_SRC_FILES})
11ELSE(MSVC)
12  ADD_LIBRARY(tinyxml_orxonox SHARED ${TINYXML_SRC_FILES})
13ENDIF(MSVC)
14
15IF (NOT WIN32)
16  INSTALL(TARGETS tinyxml_orxonox LIBRARY DESTINATION lib)
17ENDIF (NOT WIN32)
Note: See TracBrowser for help on using the repository browser.