Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/ogreceguirenderer/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: 556 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 (NOT WIN32)
Note: See TracBrowser for help on using the repository browser.