Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Replaced most of the ELSE(…) and ENDIF(…) with ELSE() and ENDIF(). Kept the shorter and the spreaded ones for better clarity since that's what it originally was thought for. But I can really pollute the code when having long conditions and lots of IFs.

  • Property svn:eol-style set to native
File size: 418 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()
18  ADD_LIBRARY(tinyxml++_orxonox SHARED ${TINYXML++_FILES})
19ENDIF()
20
21IF(NOT WIN32)
22  INSTALL(TARGETS tinyxml++_orxonox LIBRARY DESTINATION lib)
23ENDIF()
Note: See TracBrowser for help on using the repository browser.