echo -----------------------------------
set thirdpartyGeneration=<directory where you want to generate>
-set buildType=<debug|release|RelWithDebInfo>
+set buildType=<debug|release>
::The following line sets wxWidgets version. Set it ON if you want to compile wxWidgets 2.8.12
::The following line set swxWidgets version. Set it OFF if you want to compile wxWidgets 2.9.3
set wxStable=<ON|OFF>
set buildType=%2
set wxStable=%3
-set urlCreatisSource=http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source
+:: set urlCreatisSource=http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source
+set urlCreatisSource=http://www.creatis.insa-lyon.fr/~caceres/software
if %PROCESSOR_ARCHITECTURE%==x86 (
set ProgramFilesPath_x86=%ProgramFiles%
set XERCESFNAME=xerces-c-3.1.1.zip
set ITKFNAME=InsightToolkit-3.20.1.zip
set VTKFNAME=vtk-5.10.0.zip
-::set GDCMFNAME=gdcm_11_Oct_2011.tar.gz
-set GDCMFNAME=gdcm_05_Mai_2011.tar
+set GDCMFNAME=gdcm_11_Oct_2011.tar
+::set GDCMFNAME=gdcm_05_Mai_2011.tar
set TTHFNAME=tth_exe.zip
set JOMFNAME=jom.zip
%zipPath% x %sourcepath%\%VTKFNAME%
del %sourcepath%\%VTKFNAME%
+echo -----------------------------------
+echo ------------GDCM ------------------
+echo -----------------------------------
+
+cd %sourcepath%
+%zipPath% x %GDCMFNAME%.gz
+%zipPath% x %GDCMFNAME%
+del %GDCMFNAME%.gz
+del %GDCMFNAME%
+
echo -----------------------------------
echo -------------ITK-------------------
echo -----------------------------------
%zipPath% x %XERCESFNAME%
del %XERCESFNAME%
-echo -----------------------------------
-echo ------------GDCM ------------------
-echo -----------------------------------
-
-cd %sourcepath%
-%zipPath% x %GDCMFNAME%.gz
-%zipPath% x %GDCMFNAME%
-del %GDCMFNAME%.gz
-del %GDCMFNAME%
-
echo -----------------------------------
echo --------------TTH------------------
echo -----------------------------------
echo -----End of Download Libraries-----
echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
exit /B
\ No newline at end of file
set thirdpartyGeneration=%1
set buildType=%2
+set x86Comp=%3
echo Calling move_thirdparty_libraries.bat
-call move_thirdparty_libraries.bat %thirdpartyGeneration% %buildType% >> generateThirdpartyLibExe.log 2>&1
+call move_thirdparty_libraries.bat %thirdpartyGeneration% %buildType% %x86Comp% >> generateThirdpartyLibExe.log 2>&1
echo Calling install_thirdparty_libraries_cmake.bat
-call install_thirdparty_libraries_cmake.bat %thirdpartyGeneration% %buildType% >> generateThirdpartyLibExe.log 2>&1
+call install_thirdparty_libraries_cmake.bat %thirdpartyGeneration% %buildType% %x86Comp% >> generateThirdpartyLibExe.log 2>&1
exit
\ No newline at end of file
set thirdpartyGeneration=%1
set buildType=%2
+set x86Comp=%3
echo Calling move_thirdparty_dlls.bat
-call move_thirdparty_dlls.bat %thirdpartyGeneration% %buildType% >> generateThirdpartydllsExe.log 2>&1
+call move_thirdparty_dlls.bat %thirdpartyGeneration% %buildType% %x86Comp% >> generateThirdpartydllsExe.log 2>&1
echo Calling install_thirdparty_dlls_cmake.bat
-call install_thirdparty_dlls_cmake.bat %thirdpartyGeneration% %buildType% >> generateThirdpartydllsExe.log 2>&1
+call install_thirdparty_dlls_cmake.bat %thirdpartyGeneration% %buildType% %x86Comp% >> generateThirdpartydllsExe.log 2>&1
exit
\ No newline at end of file
)
)
-goto next
-
echo -----------------------------------
echo --------Qt Installation------------
echo -----------------------------------
echo y | configure -%buildType% -opensource -shared -qt-sql-sqlite -phonon -phonon-backend -platform win32-msvc2010 -mp
%JOMDIR%\jom.exe -j %NUMBER_OF_PROCESSORS%
-%JOMDIR%\jom.exe clean
cd C:\
echo -----------------------------------
cd %WXDIR%\build\msw
if %x86Comp%==ON (
- nmake -f makefile.vc BUILD=%buildType% UNICODE=0 SHARED=1
+ nmake -f makefile.vc BUILD=%buildType% UNICODE=0 SHARED=1 USE_OPENGL=1
) else (
if %PROCESSOR_ARCHITECTURE%==x86 (
- nmake -f makefile.vc BUILD=%buildType% UNICODE=0 SHARED=1
+ nmake -f makefile.vc BUILD=%buildType% UNICODE=0 SHARED=1 USE_OPENGL=1
) else (
- nmake -f makefile.vc TARGET_CPU=AMD64 BUILD=release UNICODE=0 SHARED=1
+ nmake -f makefile.vc TARGET_CPU=AMD64 BUILD=release UNICODE=0 SHARED=1 USE_OPENGL=1
)
)
cd C:\
call bootstrap.bat
if %x86Comp%==ON (
- bjam.exe -j %NUMBER_OF_PROCESSORS% --toolset=msvc-10.0 --build-type=complete --build-dir=%binpath%\%boost%Bin --link=shared --runtime-link=shared --prefix=%installpath%\%boost% install
+ bjam.exe -j %NUMBER_OF_PROCESSORS% --prefix=%installpath%\%boost% --toolset=msvc-10.0 --build-type=complete --build-dir=%binpath%\%boost%Bin --link=shared --runtime-link=shared install
) else (
if %PROCESSOR_ARCHITECTURE%==x86 (
- bjam.exe -j %NUMBER_OF_PROCESSORS% --toolset=msvc-10.0 --build-type=complete --build-dir=%binpath%\%boost%Bin --link=shared --runtime-link=shared --prefix=%installpath%\%boost% install
+ bjam.exe -j %NUMBER_OF_PROCESSORS% --prefix=%installpath%\%boost% --toolset=msvc-10.0 --build-type=complete --build-dir=%binpath%\%boost%Bin --link=shared --runtime-link=shared install
) else (
- bjam.exe -j %NUMBER_OF_PROCESSORS% --toolset=msvc-10.0 address-model=64 --build-type=complete --build-dir=%binpath%\%boost%Bin --link=shared --runtime-link= shared --prefix=%installpath%\%boost% install
+ bjam.exe -j %NUMBER_OF_PROCESSORS% --prefix=%installpath%\%boost% --toolset=msvc-10.0 architecture=x86 address-model=64 --build-type=complete --build-dir=%binpath%\%boost%Bin --link=shared --runtime-link=shared install
)
)
cd C:\
-:next
echo -----------------------------------
echo -------VTK Installation------------
echo -----------------------------------
cmake -D USE_DEBUG_LIB:BOOL=%buildType% -D CMAKE_INSTALL_PREFIX:PATH=%installpath%\%vtk%\ CMakeCache.txt
cmake -D BUILD_EXAMPLES:BOOL=OFF -D BUILD_TESTING:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON -D VTK_USE_QT:BOOL=ON CMakeCache.txt
cmake CMakeCache.txt
-FOR /R %%a IN (*.sln) DO msbuild %%a /m:%NUMBER_OF_PROCESSORS% /target:ALL_BUILD /p:Platform=AnyCPU ;UseEnv=true;BuildInParallel=true;Configuration=%buildType%
-msbuild /m:%NUMBER_OF_PROCESSORS% /p:Platform=AnyCPU ;UseEnv=true;BuildInParallel=true;Configuration=%buildType% INSTALL.vcxproj
+FOR /R %%a IN (*.sln) DO msbuild %%a /m:%NUMBER_OF_PROCESSORS% /target:ALL_BUILD /p:UseEnv=true;BuildInParallel=true;Configuration=%buildType%
+msbuild /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Configuration=%buildType% INSTALL.vcxproj
cd c:\
+
echo -----------------------------------
echo -------GDCM Installation-----------
echo -----------------------------------
)
cmake -D USE_DEBUG_LIB:BOOL=%buildType% -D CMAKE_INSTALL_PREFIX:PATH=%installpath%\%gdcm%\ CMakeCache.txt
-cmake -D VTK_DIR:PATH=%installpath%\%vtk%\ -D GDCM_VTK:BOOL=ON -D BUILD_TESTING:BOOL=OFF -D GDCM_NAME_SPACE:STRING=gdcm13 CMakeCache.txt
+cmake -D VTK_DIR:PATH=%binpath%\%vtk%Bin\ -D GDCM_VTK:BOOL=ON -D BUILD_TESTING:BOOL=OFF -D GDCM_NAME_SPACE:STRING=gdcm13 CMakeCache.txt
cmake CMakeCache.txt
-FOR /R %%a IN (*.sln) DO msbuild %%a /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Platform=AnyCPU;Configuration=%buildType%
-msbuild INSTALL.vcxproj /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Platform=AnyCPU;Configuration=%buildType%
+FOR /R %%a IN (*.sln) DO msbuild %%a /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Configuration=%buildType%
+msbuild INSTALL.vcxproj /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Configuration=%buildType%
cd c:\
+
echo -----------------------------------
echo -------ITK Installation------------
echo -----------------------------------
cmake -D USE_DEBUG_LIB:BOOL=%buildType% -D CMAKE_INSTALL_PREFIX:PATH=%installpath%\%itk%\ CMakeCache.txt
cmake -D BUILD_EXAMPLES:BOOL=OFF -D BUILD_TESTING:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON -D ITK_USE_REVIEW:BOOL=ON CMakeCache.txt
cmake CMakeCache.txt
-FOR /R %%a IN (*.sln) DO msbuild %%a /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Platform=AnyCPU;Configuration=%buildType%
-msbuild INSTALL.vcxproj /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Platform=AnyCPU;Configuration=%buildType%
+FOR /R %%a IN (*.sln) DO msbuild %%a /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Configuration=%buildType%
+msbuild INSTALL.vcxproj /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Configuration=%buildType%
cd c:\
echo ------XERCES Installation----------
echo -----------------------------------
cd %sourcepath%\%xercesc%\projects\Win32\VC10\xerces-all
-FOR /R %%a IN (*.sln) DO msbuild %%a /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Platform=AnyCPU;Configuration=%buildType%
-FOR /R %%a IN (*.sln) DO msbuild %%a /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Platform=AnyCPU;Configuration=%buildType%
-msbuild INSTALL.vcxproj /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Platform=AnyCPU;Configuration=%buildType%
+FOR /R %%a IN (*.sln) DO msbuild %%a /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Configuration=%buildType%
+FOR /R %%a IN (*.sln) DO msbuild %%a /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Configuration=%buildType%
+msbuild INSTALL.vcxproj /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Configuration=%buildType%
echo -----------------------------------
echo ---End of Installing Libraries-----
echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
+echo -----------------------------------
exit /B
\ No newline at end of file
set thirdpartyGeneration=%1
set buildType=%2
+::The following line is to force x86 or x64 compilation
+set x86Comp=%3
set version="3.0.1-win32"
exit
)
-if %PROCESSOR_ARCHITECTURE%==x86 (
+if %x86Comp%==ON (
call %vcvarsall%
+ echo "Compilation forced x86"
) else (
- call %vcvarsall% amd64
+ if %PROCESSOR_ARCHITECTURE%==x86 (
+ call %vcvarsall%
+ ) else (
+ call %vcvarsall% amd64
+ )
)
mkdir %binpath%
cd %binpath%
-if %PROCESSOR_ARCHITECTURE%==x86 (
+if %x86Comp%==ON (
cmake -G"Visual Studio 10" -H%sourcepath% -B%binpath%
) else (
- cmake -G"Visual Studio 10 Win64" -H%sourcepath% -B%binpath%
+ if %PROCESSOR_ARCHITECTURE%==x86 (
+ cmake -G"Visual Studio 10" -H%sourcepath% -B%binpath%
+ ) else (
+ cmake -G"Visual Studio 10 Win64" -H%sourcepath% -B%binpath%
+ )
)
cmake -D CMAKE_INSTALL_PREFIX:PATH=%installpath% CMakeCache.txt
set thirdpartyGeneration=%1
set buildType=%2
+::The following line is to force x86 or x64 compilation
+set x86Comp=%3
set version="3.0.1-win32"
exit
)
-if %PROCESSOR_ARCHITECTURE%==x86 (
+if %x86Comp%==ON (
call %vcvarsall%
+ echo "Compilation forced x86"
) else (
- call %vcvarsall% amd64
+ if %PROCESSOR_ARCHITECTURE%==x86 (
+ call %vcvarsall%
+ ) else (
+ call %vcvarsall% amd64
+ )
)
mkdir %binpath%
cd %binpath%
-if %PROCESSOR_ARCHITECTURE%==x86 (
+if %x86Comp%==ON (
cmake -G"Visual Studio 10" -H%sourcepath% -B%binpath%
) else (
- cmake -G"Visual Studio 10 Win64" -H%sourcepath% -B%binpath%
+ if %PROCESSOR_ARCHITECTURE%==x86 (
+ cmake -G"Visual Studio 10" -H%sourcepath% -B%binpath%
+ ) else (
+ cmake -G"Visual Studio 10 Win64" -H%sourcepath% -B%binpath%
+ )
)
cmake -D CMAKE_INSTALL_PREFIX:PATH=%installpath% CMakeCache.txt
echo setting buildtype libraries
echo if(%buildType%=="release")(
set qtBtype=4
- set wxPrefixBase=wxbase293
- set wxPrefixmsw=wxmsw293
+ set wxPrefixBase=wxbase28
+ set wxPrefixmsw=wxmsw28
set boostMT=-vc100-mt-1_49.dll
set boostMTGD=-vc100-mt-gd-1_49.dll
echo ) else (
echo set wxPrefixmsw=wxmsw293d
echo )
+
+if %PROCESSOR_ARCHITECTURE%==x86 (
+ set vcFolder=vc_dll
+ set winType=Win32
+) else (
+ set vcFolder=vc_amd64_dll
+ set winType=Win64
+)
+
echo -----------------------------------
echo Environment variables Configuration
echo -----------------------------------
echo -----------------------------------
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixBase%_net_vc_custom.dll %creaThirdPartydlls%
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixBase%_vc_custom.dll %creaThirdPartydlls%
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixBase%_xml_vc_custom.dll %creaThirdPartydlls%
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_adv_vc_custom.dll %creaThirdPartydlls%
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_aui_vc_custom.dll %creaThirdPartydlls%
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_core_vc_custom.dll %creaThirdPartydlls%
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_gl_vc_custom.dll %creaThirdPartydlls%
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_html_vc_custom.dll %creaThirdPartydlls%
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_media_vc_custom.dll %creaThirdPartydlls%
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_qa_vc_custom.dll %creaThirdPartydlls%
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_richtext_vc_custom.dll %creaThirdPartydlls%
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_xrc_vc_custom.dll %creaThirdPartydlls%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_net_vc_custom.dll %creaThirdPartydlls%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_vc_custom.dll %creaThirdPartydlls%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_xml_vc_custom.dll %creaThirdPartydlls%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_adv_vc_custom.dll %creaThirdPartydlls%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_aui_vc_custom.dll %creaThirdPartydlls%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_core_vc_custom.dll %creaThirdPartydlls%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_gl_vc_custom.dll %creaThirdPartydlls%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_html_vc_custom.dll %creaThirdPartydlls%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_media_vc_custom.dll %creaThirdPartydlls%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_qa_vc_custom.dll %creaThirdPartydlls%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_richtext_vc_custom.dll %creaThirdPartydlls%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_xrc_vc_custom.dll %creaThirdPartydlls%
echo -----------------------------------
echo -------------Xcerces---------------
echo -----------------------------------
-copy /V /Y %XERCESDIR%\Build\Win32\VC10\Release\xerces-c_3_1.dll %creaThirdPartydlls%
+copy /V /Y %XERCESDIR%\Build\%winType%\VC10\Release\xerces-c_3_1.dll %creaThirdPartydlls%
echo -----------------------------------
echo -------------ITK-------------------
echo if(%buildType%==release)(
set qtBtype=4
- set wxPrefixBase=wxbase29
- set wxPrefixmsw=wxmsw29
+ 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
echo set wxPrefixmsw=wxmsw293d
echo )
+if %PROCESSOR_ARCHITECTURE%==x86 (
+ set vcFolder=vc_dll
+ set winType=Win32
+) else (
+ set vcFolder=vc_amd64_dll
+ set winType=Win64
+)
+
echo -----------------------------------
echo Environment variables Configuration
echo -----------------------------------
copy /V /Y %WXDIR%\lib\vms.opt %creaThirdPartyLibraries%\%wxWidgets%\lib\
copy /V /Y %WXDIR%\lib\vms_gtk.opt %creaThirdPartyLibraries%\%wxWidgets%\lib\
-mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixBase%.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixBase%_net.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixBase%_xml.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_adv.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_aui.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_core.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_html.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_media.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_qa.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_richtext.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_xrc.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxexpat.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxjpeg.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxpng.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxregex.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxtiff.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxzlib.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-
-mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll\msw
-
-XCOPY %WXDIR%\lib\vc_dll\msw\* %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll\msw /s /i
+mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_net.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_xml.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_adv.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_aui.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_core.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_html.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_media.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+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
mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\jpeg
mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\png
XCOPY %XERCESDIR%\src\* %creaThirdPartyLibraries%\%xercesc%\include\ /s /i
-copy /V /Y %XERCESDIR%\Build\Win32\VC10\Release\xerces-c_3.lib %creaThirdPartyLibraries%\%xercesc%\lib\
+copy /V /Y %XERCESDIR%\Build\%winType%\VC10\Release\xerces-c_3.lib %creaThirdPartyLibraries%\%xercesc%\lib\
echo -----------------------------------