Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 16, 2009, 4:15:52 PM (15 years ago)
Author:
rgrieder
Message:
  • Renamed some Cache variables
  • Hid some other (into the advanced section)
  • removed /../ from media and dependency directory
  • OGRE plugins don't specify the render systems anymore, just the plugins.
  • CheckOGREPlugins automatically finds the available render systems
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem3/cmake/CheckOGREPlugins.cmake

    r2664 r2673  
    3131 #    OGRE_PLUGINS_DEBUG          Names of the debug plugins without extension
    3232 #    OGRE_PLUGINS_RELEASE        Names of the release plugins without ext.
     33 #  Note:
     34 #    You must not specify render systems as input, but the ones found will be
     35 #    present in the output variables.
    3336 #
    3437
     
    4447  SET(CMAKE_FIND_LIBRARY_PREFIXES "")
    4548
     49  SET(OGRE_RENDER_SYSTEMS RenderSystem_GL RenderSystem_Direct3D9)
    4650  SET(OGRE_RENDER_SYSTEM_FOUND FALSE)
    47   FOREACH(_plugin ${OGRE_PLUGINS})
     51  FOREACH(_plugin ${OGRE_PLUGINS} ${OGRE_RENDER_SYSTEMS})
    4852    FIND_LIBRARY(OGRE_PLUGIN_${_plugin}_OPTIMIZED
    4953      NAMES ${_plugin}
Note: See TracChangeset for help on using the changeset viewer.