Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/ogreceguirenderer/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: 545 bytes
Line 
1SET(OCR_FILES
2  OgreCEGUIRenderer.h
3  OgreCEGUIResourceProvider.h
4  OgreCEGUITexture.h
5
6  OgreCEGUIRenderer.cpp
7  OgreCEGUIResourceProvider.cpp
8  OgreCEGUITexture.cpp
9)
10GENERATE_SOURCE_GROUPS(${OCR_FILES})
11
12ADD_LIBRARY(ogreceguirenderer_orxonox SHARED ${OCR_FILES})
13SET_TARGET_PROPERTIES(ogreceguirenderer_orxonox PROPERTIES DEFINE_SYMBOL "OGRE_GUIRENDERER_EXPORTS")
14TARGET_LINK_LIBRARIES(ogreceguirenderer_orxonox
15  ${OGRE_LIBRARY}
16  ${CEGUI_LIBRARY}
17)
18IF(NOT WIN32)
19  INSTALL(TARGETS ogreceguirenderer_orxonox LIBRARY DESTINATION lib)
20ENDIF()
Note: See TracBrowser for help on using the repository browser.