Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/util/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: 429 bytes
Line 
1SET(UTIL_SRC_FILES
2  Clipboard.cc
3  CRC32.cc
4  Exception.cc
5  ExprParser.cc
6  Math.cc
7  MultiType.cc
8  OutputBuffer.cc
9  OutputHandler.cc
10  SignalHandler.cc
11  String.cc
12  SubString.cc
13)
14
15ADD_LIBRARY(util SHARED ${UTIL_SRC_FILES})
16SET_TARGET_PROPERTIES(util PROPERTIES DEFINE_SYMBOL "UTIL_SHARED_BUILD")
17TARGET_LINK_LIBRARIES(util ${OGRE_LIBRARY})
18
19IF (NOT WIN32)
20  INSTALL(TARGETS util LIBRARY DESTINATION lib)
21ENDIF (NOT WIN32)
Note: See TracBrowser for help on using the repository browser.