I'm looking for a way to either rename the Plugin in debug mode (for example "Plugin_CgProgramManager_d.dll") or to change the plugin-path in debug mode to another directory (for example './plugins/debug). Is there a way to achieve either one of these?
thanks alot
Debug DLLs of Plugins?
- _mental_
- OGRE Retired Team Member

- Posts: 419
- Joined: Mon Jan 27, 2003 11:51 pm
- Location: The Woodlands, TX
- Contact:
- sinbad
- OGRE Retired Team Member

- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 67
- Contact:
- :wumpus:
- OGRE Retired Team Member

- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
I don't really see why you would want to use a different name in debug mode. I'd went with the "another directory" way in all my projects. You can do this in two ways:
- Two plugin.cfgs; one in your release bin directory, one in your debug bin directory. Make the executable load the .cfg from the path it is in. This has the advantage of being easy to do, but might not be the nicest solution.
- Don't use a .cfg at all but manually use the loadPlugin method on Root. You can than use a #ifdef NDEBUG to see where to load the plugins from.
- Two plugin.cfgs; one in your release bin directory, one in your debug bin directory. Make the executable load the .cfg from the path it is in. This has the advantage of being easy to do, but might not be the nicest solution.
- Don't use a .cfg at all but manually use the loadPlugin method on Root. You can than use a #ifdef NDEBUG to see where to load the plugins from.