Menu

#9 OgreOde CMake updates for MinGW

open
nobody
None
5
2012-12-05
2010-03-01
dermont
No

There are still some problems with FindOgre locating and copying across the plugin DLLs, as a workaround point plugins.cfg to the installation bin directory. Also problems with OIS/ODE locating the ODE?OIS_DBG/REL dll's - have to specify these manually via the cmake-gui.

Discussion

  • dermont

    dermont - 2010-03-01
     
  • dermont

    dermont - 2010-03-02

    Updated patch for OgreOde CMake files:

    FinODE.CMake
    -------------------------
    - for minGW strip "lib" from static library so ODE_BINARY_NAME can be found

    Linux
    ----------
    - added link rpath for binaries
    - added OGREODE_FULL_RPATH bool option for rpath linking
    - set installed resources.cfg paths to point to media installation dir
    - set build resources.cfg paths to point to OgreOde source media

    MinGW
    ------------
    - copy dependencies to build dir bin
    - install dependencies/OgreMain.dll to install dir
    - update creating plugins.cfg to use *_DBG/REL instead of _LIBRARY_DBG/REL for minGW
    - added OGRE_DEPENDENCIES_DIR path option so OIS libraries can be found and installed
    - skip /SUBSYSTEM:WINDOWS etc. link flags for demos