Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 131 in downloads


Ignore:
Timestamp:
Feb 14, 2016, 10:01:22 PM (9 years ago)
Author:
landauf
Message:

added dependencies for gcc 4.9 and improved build-scripts slightly

Location:
windows/precompiled_dependencies
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • windows/precompiled_dependencies/mingw64/build_cegui-0-7.sh

    r127 r131  
    1919        find "." -name "*.d" -exec rm -rf {} \;
    2020        check_result $? "remove build output"
     21        sed -i "s/library(\"OgreMain\"); library(\".*\")/library(\"OgreMain\", \"_d\")/" "RendererModules/Ogre/premake.lua"
     22        check_result $? "remove boost system library"
    2123fi
    2224
     
    6466        check_result $? "create new config-file"
    6567       
     68        BOOST_SYSTEM_LIBRARY=$(find $TARGET_BIN_DIR -name "libboost_system*.dll")
     69        BOOST_SYSTEM_LIBRARY_NAME=$(basename $BOOST_SYSTEM_LIBRARY)
     70        BOOST_SYSTEM_LIBRARY_NAME=$(echo $BOOST_SYSTEM_LIBRARY_NAME | sed "s/.dll//")
     71       
    6672        # change library names in several premake scripts
    6773        sed -i "s/\"lua\"/\"lua51\"/" "ScriptingModules/LuaScriptModule/premake.lua"
     
    7379        sed -i "s/\"xerces-c_3\"/\"xerces-c\"/" "XMLParserModules/XercesParser/premake.lua"
    7480        check_result $? "change xerces library name"
    75         sed -i "s/library(\"OgreMain\", \"_d\")/library(\"OgreMain\"); library(\"libboost_system-mgw48-mt-1_60\")/" "RendererModules/Ogre/premake.lua"
     81        sed -i "s/library(\"OgreMain\", \"_d\")/library(\"OgreMain\"); library(\"${BOOST_SYSTEM_LIBRARY_NAME}\")/" "RendererModules/Ogre/premake.lua"
    7682        check_result $? "add boost system library"
    7783
  • windows/precompiled_dependencies/mingw64/build_ogre.sh

    r127 r131  
    4444                  -DBOOST_INCLUDEDIR=${TARGET_INC_DIR}/boost \
    4545                  -DOGRE_BUILD_RENDERSYSTEM_D3D11=OFF \
     46                  -DOGRE_BUILD_SAMPLES=OFF \
     47                  -DOGRE_BUILD_TOOLS=OFF \
    4648                  .. -G "MSYS Makefiles"
    4749
Note: See TracChangeset for help on using the changeset viewer.