Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

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
  • Property svn:eol-style set to native
File size: 437 bytes
Line 
1SET(TINYXML++_FILES
2  ticpp.h
3  ticpprc.h
4  tinystr.h
5  tinyxml.h
6
7  ticpp.cpp
8  tinystr.cpp
9  tinyxml.cpp
10  tinyxmlerror.cpp
11  tinyxmlparser.cpp
12)
13GENERATE_SOURCE_GROUPS(${TINYXML++_FILES})
14
15IF(MSVC)
16  ADD_LIBRARY(tinyxml++_orxonox STATIC ${TINYXML++_FILES})
17ELSE(MSVC)
18  ADD_LIBRARY(tinyxml++_orxonox SHARED ${TINYXML++_FILES})
19ENDIF(MSVC)
20
21IF (NOT WIN32)
22  INSTALL(TARGETS tinyxml++_orxonox LIBRARY DESTINATION lib)
23ENDIF (NOT WIN32)
Note: See TracBrowser for help on using the repository browser.