Skip to content
This repository has been archived by the owner on Mar 13, 2021. It is now read-only.

Commit

Permalink
use debug versions of ogre plugins in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
scrawl committed Jul 13, 2012
1 parent 78efc31 commit fb109ec
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ set (OPENMW_VERSION_RELEASE 0)

set (OPENMW_VERSION "${OPENMW_VERSION_MAJOR}.${OPENMW_VERSION_MINOR}.${OPENMW_VERSION_RELEASE}")

# Debug suffix for plugins
set(DEBUG_SUFFIX "")
if (${CMAKE_BUILD_TYPE} STREQUAL "Debug")
set(DEBUG_SUFFIX "_d")
endif()

# doxygen main page

configure_file ("${OpenMW_SOURCE_DIR}/Docs/mainpage.hpp.cmake" "${OpenMW_SOURCE_DIR}/Docs/mainpage.hpp")
Expand Down
9 changes: 4 additions & 5 deletions files/plugins.cfg.linux
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
PluginFolder=${OGRE_PLUGIN_DIR_REL}

# Define plugins
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX
Plugin=Plugin_OctreeSceneManager
Plugin=Plugin_CgProgramManager

Plugin=RenderSystem_GL${OGRE_RenderSystem_GL_LIBRARIES}
Plugin=Plugin_ParticleFX${DEBUG_SUFFIX}
Plugin=Plugin_OctreeSceneManager${DEBUG_SUFFIX}
Plugin=Plugin_CgProgramManager${DEBUG_SUFFIX}

8 changes: 4 additions & 4 deletions files/plugins.cfg.mac
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
PluginFolder=${OGRE_PLUGIN_DIR}

# Define plugins
Plugin=RenderSystem_GL.1.8.0
Plugin=Plugin_ParticleFX.1.8.0
Plugin=Plugin_OctreeSceneManager.1.8.0
Plugin=Plugin_CgProgramManager.1.8.0
Plugin=RenderSystem_GL${DEBUG_SUFFIX}.1.8.0
Plugin=Plugin_ParticleFX${DEBUG_SUFFIX}.1.8.0
Plugin=Plugin_OctreeSceneManager${DEBUG_SUFFIX}.1.8.0
Plugin=Plugin_CgProgramManager${DEBUG_SUFFIX}.1.8.0


10 changes: 5 additions & 5 deletions files/plugins.cfg.win32
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
PluginFolder=.\

# Define plugins
Plugin=RenderSystem_Direct3D9
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX
Plugin=Plugin_OctreeSceneManager
Plugin=Plugin_CgProgramManager
Plugin=RenderSystem_Direct3D9${DEBUG_SUFFIX}
Plugin=RenderSystem_GL${DEBUG_SUFFIX}
Plugin=Plugin_ParticleFX${DEBUG_SUFFIX}
Plugin=Plugin_OctreeSceneManager${DEBUG_SUFFIX}
Plugin=Plugin_CgProgramManager${DEBUG_SUFFIX}


0 comments on commit fb109ec

Please sign in to comment.