set qtBtype=4
set wxPrefixBase=wxbase28
set wxPrefixmsw=wxmsw28
- set boostMT=-vc100-mt-1_49.lib
- set boostMTGD=-vc100-mt-gd-1_49.lib
- set boostMTS=-vc100-mt-s-1_49.lib
- set boostMTSGD=-vc100-mt-sgd-1_49.lib
+ set xercesFile=xerces-c_3_1.dll
+ ) else (
+ set qtBtype=d4
+ set wxPrefixBase=wxbase28d
+ set wxPrefixmsw=wxmsw28d
+ set xercesFile=xerces-c_3_1D.dll
)
-:: else (
-:: set qtBtype=d4
-:: set wxPrefixBase=wxbase293d
-:: set wxPrefixmsw=wxmsw293d
-:: )
if %x86Comp%==ON (
set vcFolder=vc_dll
copy /V /Y %QTDIR%\bin\QtDesignerComponents%qtBtype%.dll %creaThirdPartyLibraries%\%qt%\bin\
::XCOPY %QTDIR%\lib\*.lib %creaThirdPartyLibraries%\%qt%\lib\ /i DFCH
-copy /V /Y %QTDIR%\lib\phonon4.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\QAxContainer.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\QAxServer.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\Qt3Support4.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\QtCore4.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\QtGui4.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\qtmain.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\QtNetwork4.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\QtOpenGL4.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\QtScript4.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\QtSql4.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\QtSvg4.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\QtTest4.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\QtXml4.lib %creaThirdPartyLibraries%\%qt%\lib\
-copy /V /Y %QTDIR%\lib\QtXmlPatterns4.lib %creaThirdPartyLibraries%\%qt%\lib\
+copy /V /Y %QTDIR%\lib\phonon%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
+copy /V /Y %QTDIR%\lib\Qt3Support%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
+copy /V /Y %QTDIR%\lib\QtCore%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
+copy /V /Y %QTDIR%\lib\QtGui%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
+copy /V /Y %QTDIR%\lib\QtNetwork%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
+copy /V /Y %QTDIR%\lib\QtOpenGL%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
+copy /V /Y %QTDIR%\lib\QtScript%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
+copy /V /Y %QTDIR%\lib\QtSql%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
+copy /V /Y %QTDIR%\lib\QtSvg%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
+copy /V /Y %QTDIR%\lib\QtTest%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
+copy /V /Y %QTDIR%\lib\QtXml%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
+copy /V /Y %QTDIR%\lib\QtXmlPatterns%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
+
+IF %buildType%==release (
+ copy /V /Y %QTDIR%\lib\QAxContainer.lib %creaThirdPartyLibraries%\%qt%\lib\
+ copy /V /Y %QTDIR%\lib\QAxServer.lib %creaThirdPartyLibraries%\%qt%\lib\
+ copy /V /Y %QTDIR%\lib\qtmain.lib %creaThirdPartyLibraries%\%qt%\lib\
+) ELSE (
+ copy /V /Y %QTDIR%\lib\QAxContainerd.lib %creaThirdPartyLibraries%\%qt%\lib\
+ copy /V /Y %QTDIR%\lib\QAxServerd.lib %creaThirdPartyLibraries%\%qt%\lib\
+ copy /V /Y %QTDIR%\lib\qtmaind.lib %creaThirdPartyLibraries%\%qt%\lib\
+)
mkdir %creaThirdPartyLibraries%\%qt%\src\corelib
mkdir %creaThirdPartyLibraries%\%qt%\src\gui
copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_qa.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_richtext.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_xrc.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
-copy /V /Y %WXDIR%\lib\%vcFolder%\wxexpat.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
-copy /V /Y %WXDIR%\lib\%vcFolder%\wxjpeg.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
-copy /V /Y %WXDIR%\lib\%vcFolder%\wxpng.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
-copy /V /Y %WXDIR%\lib\%vcFolder%\wxregex.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
-copy /V /Y %WXDIR%\lib\%vcFolder%\wxtiff.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
-copy /V /Y %WXDIR%\lib\%vcFolder%\wxzlib.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
-
-mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%\msw
-XCOPY %WXDIR%\lib\%vcFolder%\msw\* %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%\msw /s /i
+IF %buildType%==release (
+ copy /V /Y %WXDIR%\lib\%vcFolder%\wxexpat.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+ copy /V /Y %WXDIR%\lib\%vcFolder%\wxjpeg.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+ copy /V /Y %WXDIR%\lib\%vcFolder%\wxpng.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+ copy /V /Y %WXDIR%\lib\%vcFolder%\wxregex.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+ copy /V /Y %WXDIR%\lib\%vcFolder%\wxtiff.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+ copy /V /Y %WXDIR%\lib\%vcFolder%\wxzlib.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+ mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%\msw
+ XCOPY %WXDIR%\lib\%vcFolder%\msw\* %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%\msw /s /i
+) ELSE (
+ copy /V /Y %WXDIR%\lib\%vcFolder%\wxexpatd.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+ copy /V /Y %WXDIR%\lib\%vcFolder%\wxjpegd.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+ copy /V /Y %WXDIR%\lib\%vcFolder%\wxpngd.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+ copy /V /Y %WXDIR%\lib\%vcFolder%\wxregexd.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+ copy /V /Y %WXDIR%\lib\%vcFolder%\wxtiffd.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+ copy /V /Y %WXDIR%\lib\%vcFolder%\wxzlibd.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+ mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%\mswd
+ XCOPY %WXDIR%\lib\%vcFolder%\mswd\* %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%\mswd /s /i
+)
mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\jpeg
mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\png
echo -------------Boost-----------------
echo -----------------------------------
+set boostMT=-vc100-mt-1_49.lib
+set boostMTGD=-vc100-mt-gd-1_49.lib
+set boostMTS=-vc100-mt-s-1_49.lib
+set boostMTSGD=-vc100-mt-sgd-1_49.lib
+
mkdir %creaThirdPartyLibraries%\%boost%
mkdir %creaThirdPartyLibraries%\%boost%\include
mkdir %creaThirdPartyLibraries%\%xercesc%\lib\
XCOPY %XERCESDIR%\src\* %creaThirdPartyLibraries%\%xercesc%\include\ /s /i
-
-copy /V /Y %XERCESDIR%\Build\%winType%\VC10\Release\xerces-c_3.lib %creaThirdPartyLibraries%\%xercesc%\lib\
+copy /V /Y %XERCESDIR%\Build\%winType%\VC10\%buildType%\%xercesFile% %creaThirdPartyLibraries%\%xercesc%\lib\
echo -----------------------------------
echo -------------ITK-------------------
mkdir %creaThirdPartyLibraries%\%vtk%\include
mkdir %creaThirdPartyLibraries%\%vtk%\lib
-::mkdir %creaThirdPartyLibraries%\%vtk%\bin
XCOPY %VTKINSTALLDIR%\include\* %creaThirdPartyLibraries%\%vtk%\include /s /i
XCOPY %VTKINSTALLDIR%\lib\* %creaThirdPartyLibraries%\%vtk%\lib /s /i
-::XCOPY %VTKINSTALLDIR%\bin\* %creaThirdPartyLibraries%\%vtk%\bin /s /i
echo cleaning
del %creaThirdPartyLibraries%\%vtk%\lib\vtk-5.10\VTKTargets.cmake
-del %creaThirdPartyLibraries%\%vtk%\lib\vtk-5.10\VTKTargets-release.cmake
+::del %creaThirdPartyLibraries%\%vtk%\lib\vtk-5.10\VTKTargets-release.cmake
echo -----------------------------------
echo -------------GDCM------------------