set thirdpartyGeneration=<directory where you want to generate>
set buildType=<debug|release|RelWithDebInfo>
+::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 the following line ON if you want to force x86 compilation
+set forcex86=<ON|OFF>
+
+
echo thirdpartyGeneration=%thirdpartyGeneration%
echo buildType=%buildType%
+echo wxStable=%wxStable%
echo -----------------------------------
echo ---End Setting Global Variables----
echo -------Calling Scripts-------------
echo -----------------------------------
-cd scripts
+echo starting time
+time /t
+date /T
+
+set scripts=%cd%\scripts
+set LogFolder=%thirdpartyGeneration%\installLog
+cd %scripts%
+
+echo cleaning All
+
+call cleanAll.bat %thirdpartyGeneration%
-echo Calling install_thirdparty_all.bat
+cd %scripts%
-call install_thirdparty_all.bat %thirdpartyGeneration% %buildType% >> install_generate_thirdparty.log 2>&1
+echo Calling download_ThirdPartySW.bat
-echo Calling move_thirdparty_dlls.bat
+call download_ThirdPartySW.bat %thirdpartyGeneration% %buildType% %wxStable% >> %LogFolder%\downloadSources.log 2>&1
-call move_thirdparty_dlls.bat %thirdpartyGeneration% >> install_generate_thirdparty.log 2>&1
+cd %scripts%
-echo Calling move_thirdparty_libraries.bat
+echo Calling install_thirdparty.bat
-call move_thirdparty_libraries.bat %thirdpartyGeneration% >> install_generate_thirdparty.log 2>&1
+start /B /wait install_thirdparty_all.bat %thirdpartyGeneration% %buildType% %forcex86%
-echo Calling install_thirdparty_dlls_cmake.bat
+echo Calling generateThirdPartydllsExe.bat
-call install_thirdparty_dlls_cmake.bat %thirdpartyGeneration% >> install_generate_thirdparty.log 2>&1
+cd %scripts%
-echo Calling install_thirdparty_libraries_cmake.bat
+start /B /wait generateThirdPartydllsExe.bat %thirdpartyGeneration% %buildType% %forcex86%
-call install_thirdparty_libraries_cmake.bat %thirdpartyGeneration% >> install_generate_thirdparty.log 2>&1
+echo Calling generateThirdPartyLibExe.bat
-cd ..
+cd %scripts%
+
+start /B /wait generateThirdPartyLibExe.bat %thirdpartyGeneration% %buildType% %forcex86%
+
+cd..
echo -----------------------------------
echo -------End of the Script-----------
echo -----------------------------------
-pause
+echo ending time
+time /t
+date /T
+
+echo To see the log of this install please go to %LogFolder%
+
+::pause
+
exit
\ No newline at end of file