%zipPath%\7z.exe x ..\wxWidgets-2.9.1.7z
-rem ------------- xercesc --------------------
+
+
+
+rem ------------- vtk --------------------
cd %binpath%
-mkdir %xercesc%Bin
-cd %xercesc%Bin
-cmake -G"Visual Studio 10 2008 Win64" -H%sourcepath%\%xercesc% -B%binpath%\%xercesc%Bin
-cmake -D CMAKE_INSTALL_PREFIX:PATH=%installpath%\%xercesc%\ CMakeCache.txt
+mkdir %vtk%Bin
+cd %vtk%Bin
+cmake -G"Visual Studio 10 Win64" -H%sourcepath%\%vtk% -B%binpath%\%vtk%Bin
+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
+call %vcvarsall%
+FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%buildType%
+msbuild /p:Configuration=%buildType% INSTALL.vcxproj
cmake CMakeCache.txt
call %vcvarsall%
FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%buildType%
-FOR /R %%a IN (*.sln) DO msbuild /p:Configuration=%buildType% INSTALL.vcproj
+msbuild /p:Configuration=%buildType% INSTALL.vcxproj
+
+
:next
-rem ------------- vtk --------------------
-cd %binpath%
-mkdir %vtk%Bin
-cd %vtk%Bin
-cmake -G"Visual Studio 10 Win64" -H%sourcepath%\%vtk% -B%binpath%\%vtk%Bin
-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
+
+rem ------------- xercesc --------------------
+cd %sourcepath%\%xercesc%
call %vcvarsall%
FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%buildType%
-FOR /R %%a IN (*.sln) DO msbuild /p:Configuration=%buildType% INSTALL.vcproj
+REM msbuild /p:Configuration=%buildType% INSTALL.vcxproj
+
+
+
pause