]> Creatis software - creaToolsTools.git/blobdiff - Install_ThirdParty/scripts/move_thirdparty_dlls.bat
Feature #1773 Add licence terms for all files.
[creaToolsTools.git] / Install_ThirdParty / scripts / move_thirdparty_dlls.bat
index d538fcede2b2e0e6235d302e9e3171d3bfbc58df..ffaafb22be54eb6f3068dd810f168f23ee5276b4 100644 (file)
@@ -1,3 +1,26 @@
+REM ---------------------------------------------------------------------
+REM
+REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
+REM                        pour la Santé)
+REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+REM
+REM  This software is governed by the CeCILL-B license under French law and 
+REM  abiding by the rules of distribution of free software. You can  use, 
+REM  modify and/ or redistribute the software under the terms of the CeCILL-B 
+REM  license as circulated by CEA, CNRS and INRIA at the following URL 
+REM  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 
+REM  or in the file LICENSE.txt.
+REM
+REM  As a counterpart to the access to the source code and  rights to copy,
+REM  modify and redistribute granted by the license, users are provided only
+REM  with a limited warranty  and the software's author,  the holder of the
+REM  economic rights,  and the successive licensors  have only  limited
+REM  liability. 
+REM
+REM  The fact that you are presently reading this means that you have had
+REM  knowledge of the CeCILL-B license and that you accept its terms.
+REM ------------------------------------------------------------------------  
+
 @echo off
 echo -----------------------------------
 echo ----------Moving Dlls--------------
@@ -48,14 +71,13 @@ echo 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 (
@@ -134,6 +156,9 @@ echo -----------------------------------
 echo -------------Boost-----------------
 echo -----------------------------------
 
+set boostMT=-vc100-mt-1_49.dll
+set boostMTGD=-vc100-mt-gd-1_49.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 +193,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-------------------