Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 19, 2011, 6:00:12 AM (14 years ago)
Author:
rgrieder
Message:

Removed build option "OGRE_PLUGINS" since it's not very useful.
Instead created two categories of plugins: mandatory and optional ones, see bottom of LibraryConfig.cmake.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/LibraryConfig.cmake

    r7955 r8264  
    202202################# OGRE Plugins ##################
    203203
    204 # More plugins: Plugin_BSPSceneManager, Plugin_OctreeSceneManager
    205 SET(OGRE_PLUGINS_INT Plugin_ParticleFX)
    206 IF(WIN32)
    207   # CG program manager is probably DirectX related (not available under unix)
    208   LIST(APPEND OGRE_PLUGINS_INT Plugin_CgProgramManager)
    209 ENDIF(WIN32)
    210 SET(OGRE_PLUGINS ${OGRE_PLUGINS_INT} CACHE STRING
    211    "Specify which OGRE plugins to load. Existance check is performed.")
    212 
    213204# Check the plugins and determine the plugin folder
    214205# You can give a hint by setting the environment variable ENV{OGRE_PLUGIN_DIR}
    215206INCLUDE(CheckOGREPlugins)
    216 CHECK_OGRE_PLUGINS(${OGRE_PLUGINS})
    217 
     207# Note 1: First argument (as string!) are for mandatory plugins, second one is
     208#         for optional ones.
     209# Note 2: Render systems are found automatically (at least one required)
     210CHECK_OGRE_PLUGINS("Plugin_ParticleFX" "Plugin_CgProgramManager")
     211
Note: See TracChangeset for help on using the changeset viewer.