X-Git-Url: https://git.ucc.asn.au/?p=matches%2Fhonours.git;a=blobdiff_plain;f=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2Ftools%2FCompile%20VS2008.bat;fp=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2Ftools%2FCompile%20VS2008.bat;h=12e2b2defed30e781752e359079d82ffe36e61ec;hp=0000000000000000000000000000000000000000;hb=70a96cca12cb006506461d26cd112bab179fe74c;hpb=8caf60af39689a3546074f0c68d14c3a2e28191e diff --git a/research/transmission_spectroscopy/TOF/Win32++/tools/Compile VS2008.bat b/research/transmission_spectroscopy/TOF/Win32++/tools/Compile VS2008.bat new file mode 100755 index 00000000..12e2b2de --- /dev/null +++ b/research/transmission_spectroscopy/TOF/Win32++/tools/Compile VS2008.bat @@ -0,0 +1,222 @@ +REM: A batch program to rebuild the Win32++ samples using VS2008. +REM: The contents of the log file is erased + +REM: Set the paths and environment variables +call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 + +::Cleanup +call CleanSamples +call CleanTutorials + +REM: Change the directory to the Samples parent +pushd ..\Samples +if exist "..\output\VS2008\Debug" rmdir /s /q "..\output\VS2008\Debug" +if exist "..\output\VS2008\Release" rmdir /s /q "..\output\VS2008\Release" +if exist "..\output\VS2008\Tutorials" rmdir /s /q "..\output\VS2008\Tutorials" + +@echo on + +::Compile code +devenv /build Debug Browser\ProjectFiles\Browser_2008.sln > "..\output\VS2008.log" +devenv /build Release Browser\ProjectFiles\Browser_2008.sln >>"..\output\VS2008.log" +devenv /build Debug CustomControl\ProjectFiles\CustomControl_2008.sln >>"..\output\VS2008.log" +devenv /build Release CustomControl\ProjectFiles\CustomControl_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Dialog\ProjectFiles\Dialog_2008.sln >>"..\output\VS2008.log" +devenv /build Release Dialog\ProjectFiles\Dialog_2008.sln >>"..\output\VS2008.log" +devenv /build Debug DialogBars\ProjectFiles\DialogBars_2008.sln >>"..\output\VS2008.log" +devenv /build Release DialogBars\ProjectFiles\DialogBars_2008.sln >>"..\output\VS2008.log" +devenv /build Debug DialogDemo\ProjectFiles\DialogDemo_2008.sln >>"..\output\VS2008.log" +devenv /build Release DialogDemo\ProjectFiles\DialogDemo_2008.sln >>"..\output\VS2008.log" +devenv /build Debug DialogTab\ProjectFiles\DialogTab_2008.sln >>"..\output\VS2008.log" +devenv /build Release DialogTab\ProjectFiles\DialogTab_2008.sln >>"..\output\VS2008.log" +devenv /build Debug DirectX\ProjectFiles\DirectX_2008.sln >>"..\output\VS2008.log" +devenv /build Release DirectX\ProjectFiles\DirectX_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Dock\ProjectFiles\Dock_2008.sln >>"..\output\VS2008.log" +devenv /build Release Dock\ProjectFiles\Dock_2008.sln >>"..\output\VS2008.log" +devenv /build Debug DockContainer\ProjectFiles\DockContainer_2008.sln >>"..\output\VS2008.log" +devenv /build Release DockContainer\ProjectFiles\DockContainer_2008.sln >>"..\output\VS2008.log" +devenv /build Debug DockTabbedMDI\ProjectFiles\DockTabbedMDI_2008.sln >>"..\output\VS2008.log" +devenv /build Release DockTabbedMDI\ProjectFiles\DockTabbedMDI_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Explorer\ProjectFiles\Explorer_2008.sln >>"..\output\VS2008.log" +devenv /build Release Explorer\ProjectFiles\Explorer_2008.sln >>"..\output\VS2008.log" +devenv /build Debug FastGDI\ProjectFiles\FastGDI_2008.sln >>"..\output\VS2008.log" +devenv /build Release FastGDI\ProjectFiles\FastGDI_2008.sln >>"..\output\VS2008.log" +devenv /build Debug FormDemo\ProjectFiles\FormDemo_2008.sln >>"..\output\VS2008.log" +devenv /build Release FormDemo\ProjectFiles\FormDemo_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Frame\ProjectFiles\Frame_2008.sln >>"..\output\VS2008.log" +devenv /build Release Frame\ProjectFiles\Frame_2008.sln >>"..\output\VS2008.log" +devenv /build Debug GDIPlus\ProjectFiles\GDIPlus_2008.sln >>"..\output\VS2008.log" +devenv /build Release GDIPlus\ProjectFiles\GDIPlus_2008.sln >>"..\output\VS2008.log" +devenv /build Debug MDIFrame\ProjectFiles\MDIFrame_2008.sln >>"..\output\VS2008.log" +devenv /build Release MDIFrame\ProjectFiles\MDIFrame_2008.sln >>"..\output\VS2008.log" +devenv /build Debug MDIFrameDemo\ProjectFiles\MDIDemo_2008.sln >>"..\output\VS2008.log" +devenv /build Release MDIFrameDemo\ProjectFiles\MDIDemo_2008.sln >>"..\output\VS2008.log" +devenv /build Debug MDIFrameSplitter\ProjectFiles\MDIFrameSplitter_2008.sln >>"..\output\VS2008.log" +devenv /build Release MDIFrameSplitter\ProjectFiles\MDIFrameSplitter_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Networking\ClientDlg\Client_2008.sln >>"..\output\VS2008.log" +devenv /build Release Networking\ClientDlg\Client_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Networking\ServerDlg\Server_2008.sln >>"..\output\VS2008.log" +devenv /build Release Networking\ServerDlg\Server_2008.sln >>"..\output\VS2008.log" +devenv /build Debug NotePad\ProjectFiles\Notepad_2008.sln >>"..\output\VS2008.log" +devenv /build Release NotePad\ProjectFiles\Notepad_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Performance\ProjectFiles\Performance_2008.sln >>"..\output\VS2008.log" +devenv /build Release Performance\ProjectFiles\Performance_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Picture\ProjectFiles\Picture_2008.sln >>"..\output\VS2008.log" +devenv /build Release Picture\ProjectFiles\Picture_2008.sln >>"..\output\VS2008.log" +devenv /build Debug PropertySheet\ProjectFiles\PropertySheet_2008.sln >>"..\output\VS2008.log" +devenv /build Release PropertySheet\ProjectFiles\PropertySheet_2008.sln >>"..\output\VS2008.log" +devenv /build Debug RibbonFrame\ProjectFiles\RibbonFrame_2008.sln >>"..\output\VS2008.log" +devenv /build Release RibbonFrame\ProjectFiles\RibbonFrame_2008.sln >>"..\output\VS2008.log" +devenv /build Debug RibbonSimple\ProjectFiles\SimpleRibbon_2008.sln >>"..\output\VS2008.log" +devenv /build Release RibbonSimple\ProjectFiles\SimpleRibbon_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Scribble\ProjectFiles\Scribble_2008.sln >>"..\output\VS2008.log" +devenv /build Release Scribble\ProjectFiles\Scribble_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Simple\ProjectFiles\Simple_2008.sln >>"..\output\VS2008.log" +devenv /build Release Simple\ProjectFiles\Simple_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Splitter\ProjectFiles\Splitter_2008.sln >>"..\output\VS2008.log" +devenv /build Release Splitter\ProjectFiles\Splitter_2008.sln >>"..\output\VS2008.log" +devenv /build Debug TabDemo\ProjectFiles\TabDemo_2008.sln >>"..\output\VS2008.log" +devenv /build Release TabDemo\ProjectFiles\TabDemo_2008.sln >>"..\output\VS2008.log" +devenv /build Debug TaskDialog\ProjectFiles\TaskDialog_2008.sln >>"..\output\VS2008.log" +devenv /build Release TaskDialog\ProjectFiles\TaskDialog_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Themes\ProjectFiles\Themes_2008.sln >>"..\output\VS2008.log" +devenv /build Release Themes\ProjectFiles\Themes_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Threads\ProjectFiles\Threads_2008.sln >>"..\output\VS2008.log" +devenv /build Release Threads\ProjectFiles\Threads_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Tray\ProjectFiles\Tray_2008.sln >>"..\output\VS2008.log" +devenv /build Release Tray\ProjectFiles\Tray_2008.sln >>"..\output\VS2008.log" + +mkdir "..\output\VS2008" +mkdir "..\output\VS2008\Debug" + +ECHO "Copying Debug Samples" >>"..\output\VS2008.log" +copy Browser\ProjectFiles\Debug\Browser.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy CustomControl\ProjectFiles\Debug\CustomControl.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy CustomControl\ProjectFiles\Debug\CustomControl.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy DialogBars\ProjectFiles\Debug\DialogBars.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy DialogDemo\ProjectFiles\Debug\DialogDemo.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy DialogTab\ProjectFiles\Debug\DialogTab.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy DirectX\ProjectFiles\Debug\DirectX.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Dock\ProjectFiles\Debug\Dock.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy DockContainer\ProjectFiles\Debug\DockContainer.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy DockTabbedMDI\ProjectFiles\Debug\DockTabbedMDI.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Explorer\ProjectFiles\Debug\Explorer.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy FastGDI\ProjectFiles\Debug\FastGDI.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy FormDemo\ProjectFiles\Debug\FormDemo.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Frame\ProjectFiles\Debug\Frame.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy GDIPlus\ProjectFiles\Debug\GDIPlus.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy MDIFrame\ProjectFiles\Debug\MDIFrame.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy MDIFrameDemo\ProjectFiles\Debug\MDIDemo.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy MDIFrameSplitter\ProjectFiles\Debug\MDIFrameSplitter.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Networking\ClientDlg\Debug\Client.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Networking\ServerDlg\Debug\Server.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy NotePad\ProjectFiles\Debug\Notepad.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Performance\ProjectFiles\Debug\Performance.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Picture\ProjectFiles\Debug\Picture.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy PropertySheet\ProjectFiles\Debug\PropertySheet.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy RibbonFrame\ProjectFiles\Debug\RibbonFrame.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy RibbonSimple\ProjectFiles\Debug\SimpleRibbon.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Scribble\ProjectFiles\Debug\Scribble.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Simple\ProjectFiles\Debug\Simple.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Splitter\ProjectFiles\Debug\Splitter.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy TabDemo\ProjectFiles\Debug\TabDemo.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy TaskDialog\ProjectFiles\Debug\TaskDialog.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Themes\ProjectFiles\Debug\Themes.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Threads\ProjectFiles\Debug\Threads.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" +copy Tray\ProjectFiles\Debug\Tray.exe "..\output\VS2008\Debug" >>"..\output\VS2008.log" + +mkdir "..\output\VS2008\Release" + +ECHO "Copying Release Samples" >>"..\output\VS2008.log" +copy Browser\ProjectFiles\Release\Browser.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy CustomControl\ProjectFiles\Release\CustomControl.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Dialog\ProjectFiles\Release\Dialog.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy DialogBars\ProjectFiles\Release\DialogBars.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy DialogDemo\ProjectFiles\Release\DialogDemo.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy DialogTab\ProjectFiles\Release\DialogTab.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy DirectX\ProjectFiles\Release\DirectX.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Dock\ProjectFiles\Release\Dock.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy DockContainer\ProjectFiles\Release\DockContainer.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy DockTabbedMDI\ProjectFiles\Release\DockTabbedMDI.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Explorer\ProjectFiles\Release\Explorer.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy FastGDI\ProjectFiles\Release\FastGDI.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy FormDemo\ProjectFiles\Release\FormDemo.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Frame\ProjectFiles\Release\Frame.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy GDIPlus\ProjectFiles\Release\GDIPlus.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy MDIFrame\ProjectFiles\Release\MDIFrame.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy MDIFrameDemo\ProjectFiles\Release\MDIDemo.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy MDIFrameSplitter\ProjectFiles\Release\MDIFrameSplitter.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Networking\ClientDlg\Release\Client.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Networking\ServerDlg\Release\Server.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy NotePad\ProjectFiles\Release\Notepad.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Performance\ProjectFiles\Release\Performance.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Picture\ProjectFiles\Release\Picture.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy PropertySheet\ProjectFiles\Release\PropertySheet.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy RibbonFrame\ProjectFiles\Release\RibbonFrame.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy RibbonSimple\ProjectFiles\Release\SimpleRibbon.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Scribble\ProjectFiles\Release\Scribble.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Simple\ProjectFiles\Release\Simple.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Splitter\ProjectFiles\Release\Splitter.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy TabDemo\ProjectFiles\Release\TabDemo.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy TaskDialog\ProjectFiles\Release\TaskDialog.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Themes\ProjectFiles\Release\Themes.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Threads\ProjectFiles\Release\Threads.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" +copy Tray\ProjectFiles\Release\Tray.exe "..\output\VS2008\Release" >>"..\output\VS2008.log" + +REM: Change the directory to the Tutorials parent +popd +pushd ..\Tutorials + +REM: Compile Tutorials +ECHO "Compliling Tutorials" >>"..\output\VS2008.log" +::Compile code +devenv /build Debug Tutorial1\Tutorial1_2008.sln >>"..\output\VS2008.log" +devenv /build Release Tutorial1\Tutorial1_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Tutorial2\Tutorial2_2008.sln >>"..\output\VS2008.log" +devenv /build Release Tutorial2\Tutorial2_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Tutorial3\Tutorial3_2008.sln >>"..\output\VS2008.log" +devenv /build Release Tutorial3\Tutorial3_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Tutorial4\Tutorial4_2008.sln >>"..\output\VS2008.log" +devenv /build Release Tutorial4\Tutorial4_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Tutorial5\Tutorial5_2008.sln >>"..\output\VS2008.log" +devenv /build Release Tutorial5\Tutorial5_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Tutorial6\Tutorial6_2008.sln >>"..\output\VS2008.log" +devenv /build Release Tutorial6\Tutorial6_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Tutorial7\Tutorial7_2008.sln >>"..\output\VS2008.log" +devenv /build Release Tutorial7\Tutorial7_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Tutorial8\Tutorial8_2008.sln >>"..\output\VS2008.log" +devenv /build Release Tutorial8\Tutorial8_2008.sln >>"..\output\VS2008.log" +devenv /build Debug Tutorial9\Tutorial9_2008.sln >>"..\output\VS2008.log" +devenv /build Release Tutorial9\Tutorial9_2008.sln >>"..\output\VS2008.log" + +mkdir "..\output\VS2008\Tutorials" +mkdir "..\output\VS2008\Tutorials\Debug" + +ECHO "Copying Debug Tutorials" >>"..\output\VS2008.log" +copy Tutorial1\Debug\Tutorial1.exe "..\output\VS2008\Tutorials\Debug" >>"..\output\VS2008.log" +copy Tutorial2\Debug\Tutorial2.exe "..\output\VS2008\Tutorials\Debug" >>"..\output\VS2008.log" +copy Tutorial3\Debug\Tutorial3.exe "..\output\VS2008\Tutorials\Debug" >>"..\output\VS2008.log" +copy Tutorial4\Debug\Tutorial4.exe "..\output\VS2008\Tutorials\Debug" >>"..\output\VS2008.log" +copy Tutorial5\Debug\Tutorial5.exe "..\output\VS2008\Tutorials\Debug" >>"..\output\VS2008.log" +copy Tutorial6\Debug\Tutorial6.exe "..\output\VS2008\Tutorials\Debug" >>"..\output\VS2008.log" +copy Tutorial7\Debug\Tutorial7.exe "..\output\VS2008\Tutorials\Debug" >>"..\output\VS2008.log" +copy Tutorial8\Debug\Tutorial8.exe "..\output\VS2008\Tutorials\Debug" >>"..\output\VS2008.log" +copy Tutorial9\Debug\Tutorial9.exe "..\output\VS2008\Tutorials\Debug" >>"..\output\VS2008.log" + +mkdir "..\output\VS2008\Tutorials\Release" + +ECHO "Copying Release Tutorials" >>"..\output\VS2008.log" +copy Tutorial1\Release\Tutorial1.exe "..\output\VS2008\Tutorials\Release" >>"..\output\VS2008.log" +copy Tutorial2\Release\Tutorial2.exe "..\output\VS2008\Tutorials\Release" >>"..\output\VS2008.log" +copy Tutorial3\Release\Tutorial3.exe "..\output\VS2008\Tutorials\Release" >>"..\output\VS2008.log" +copy Tutorial4\Release\Tutorial4.exe "..\output\VS2008\Tutorials\Release" >>"..\output\VS2008.log" +copy Tutorial5\Release\Tutorial5.exe "..\output\VS2008\Tutorials\Release" >>"..\output\VS2008.log" +copy Tutorial6\Release\Tutorial6.exe "..\output\VS2008\Tutorials\Release" >>"..\output\VS2008.log" +copy Tutorial7\Release\Tutorial7.exe "..\output\VS2008\Tutorials\Release" >>"..\output\VS2008.log" +copy Tutorial8\Release\Tutorial8.exe "..\output\VS2008\Tutorials\Release" >>"..\output\VS2008.log" +copy Tutorial9\Release\Tutorial9.exe "..\output\VS2008\Tutorials\Release" >>"..\output\VS2008.log" + +REM: Pop the directory change off the stack +popd + +