X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Install_ThirdParty%2Fscripts%2Fmove_thirdparty_dlls.bat;h=77260016d2c128497004902f8ac3a7dfa0e76c54;hb=e79d72630bd419d3223605aecbc3ca44360a30f6;hp=d538fcede2b2e0e6235d302e9e3171d3bfbc58df;hpb=a465a7043637b6a247633b58510cd3a5d3a3038c;p=creaToolsTools.git diff --git a/Install_ThirdParty/scripts/move_thirdparty_dlls.bat b/Install_ThirdParty/scripts/move_thirdparty_dlls.bat index d538fce..7726001 100644 --- a/Install_ThirdParty/scripts/move_thirdparty_dlls.bat +++ b/Install_ThirdParty/scripts/move_thirdparty_dlls.bat @@ -26,6 +26,7 @@ set itk=itk set gdcm=gdcm13 set vtk=vtk set tth=tth +set sqlite=sqlite set QTDIR=%sourcepath%\%qt% set WXDIR=%sourcepath%\%wxWidgets% @@ -38,24 +39,24 @@ set BOOSTINSTALLDIR=%installpath%\%boost% set ITKINSTALLDIR=%installpath%\%itk% set VTKINSTALLDIR=%installpath%\%vtk% set GDCMINSTALLDIR=%installpath%\%gdcm% +set SQLITEINSTALLDIR=%installpath%\%sqlite% rmdir /S /Q %creaThirdPartydlls% mkdir %creaThirdPartydlls% echo setting buildtype libraries -echo if(%buildType%=="release")( +if %buildType%==release ( set qtBtype=4 set wxPrefixBase=wxbase28 set wxPrefixmsw=wxmsw28 - set boostMT=-vc100-mt-1_49.dll - set boostMTGD=-vc100-mt-gd-1_49.dll - ) -::else ( -::echo set qtBtype=d4 -::echo set wxPrefixBase=wxbase293d -::echo set wxPrefixmsw=wxmsw293d -::echo ) + set xercesFile=xerces-c_3_1.dll +) else ( + set qtBtype=d4 + set wxPrefixBase=wxbase28d + set wxPrefixmsw=wxmsw28d + set xercesFile=xerces-c_3_1D.dll +) if %x86Comp%==ON ( @@ -74,12 +75,14 @@ if %x86Comp%==ON ( echo ----------------------------------- echo Environment variables Configuration echo ----------------------------------- +echo buildType=%buildType% echo ThirdpartyGeneration=%thirdpartyGeneration% echo InstallPath=%installpath% echo BinPath=%binpath% echo SourcePath=%sourcepath% echo creaThirdPartyLibraries=%thirdpartyInstallPath%\creaThirdParty_libraries echo QT=%qt% +echo qtBtype=%qtBtype% echo WX=%wxWidgets% echo BOOST=%boost% echo Xercesc=%xercesc% @@ -92,6 +95,7 @@ echo BOOSTDIR=%BOOSTDIR% echo XERCESDIR=%XERCESDIR% echo ITKSRCDIR=%ITKSRCDIR% echo VTKSRCDIR=%VTKSRCDIR% +echo SQLSRCDIR=%SQLITESRCDIR% echo ----------------------------------- @@ -134,6 +138,11 @@ echo ----------------------------------- echo -------------Boost----------------- echo ----------------------------------- +REM set boostMT=-vc100-mt-1_49.dll +REM set boostMTGD=-vc100-mt-gd-1_49.dll +set boostMT=-vc100-mt-1_52.dll +set boostMTGD=-vc100-mt-gd-1_52.dll + copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMT% %creaThirdPartydlls% copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMTGD% %creaThirdPartydlls% copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMT% %creaThirdPartydlls% @@ -168,7 +177,7 @@ echo ----------------------------------- echo -------------Xcerces--------------- echo ----------------------------------- -copy /V /Y %XERCESDIR%\Build\%winType%\VC10\Release\xerces-c_3_1.dll %creaThirdPartydlls% +copy /V /Y %XERCESDIR%\Build\%winType%\VC10\%buildType%\%xercesFile% %creaThirdPartydlls% echo ----------------------------------- echo -------------ITK------------------- @@ -191,6 +200,16 @@ echo ----------------------------------- copy /V /Y %GDCMINSTALLDIR%\bin\*.exe %creaThirdPartydlls% copy /V /Y %GDCMINSTALLDIR%\bin\*.dll %creaThirdPartydlls% + +echo ----------------------------------- +echo -------------SQLite------------------ +echo ----------------------------------- + +echo copy /V /Y %SQLITEINSTALLDIR%\bin\*.dll %creaThirdPartydlls% +copy /V /Y %SQLITEINSTALLDIR%\bin\*.dll %creaThirdPartydlls% + + + echo ----------------------------------- echo ------End of Moving Dlls----------- echo -----------------------------------