Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/ogreceguirenderer/CMakeLists.txt @ 2595

Last change on this file since 2595 was 2588, checked in by rgrieder, 16 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: 447 bytes
Line 
1SET( SRC_FILES
2  OgreCEGUIRenderer.cpp
3  OgreCEGUIResourceProvider.cpp
4  OgreCEGUITexture.cpp
5)
6
7ADD_LIBRARY(ogreceguirenderer_orxonox SHARED ${SRC_FILES})
8
9SET_TARGET_PROPERTIES(ogreceguirenderer_orxonox PROPERTIES DEFINE_SYMBOL "OGRE_GUIRENDERER_EXPORTS")
10TARGET_LINK_LIBRARIES(ogreceguirenderer_orxonox
11  ${OGRE_LIBRARY}
12  ${CEGUI_LIBRARY}
13)
14IF (NOT WIN32)
15  INSTALL(TARGETS ogreceguirenderer_orxonox LIBRARY DESTINATION lib)
16ENDIF (NOT WIN32)
Note: See TracBrowser for help on using the repository browser.