PTdecode/CImg-1.3.0/resources/compile_win_visualcpp6.bat

changeset 5
1204ebf9340d
     1.1 diff -r 5edfbd3e7a46 -r 1204ebf9340d PTdecode/CImg-1.3.0/resources/compile_win_visualcpp6.bat
     1.2 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 +++ b/PTdecode/CImg-1.3.0/resources/compile_win_visualcpp6.bat	Mon Aug 03 14:09:20 2009 +0100
     1.4 @@ -0,0 +1,19 @@
     1.5 +REM A dirty batch file to compile all CImg examples
     1.6 +REM Using the microsoft's CL compiler.
     1.7 +REM -----------------------------------------------
     1.8 +set SDKPATH=C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2
     1.9 +set CPP=cl /W3 /Zm800 /Ox /Ob2 /Oi /Ot /c /EHsc /I"%SDKPATH%\Include" /I"..\\"
    1.10 +set LDD=link /LIBPATH:"%SDKPATH%\Lib"
    1.11 +set LDDLIBS=user32.lib gdi32.lib shell32.lib
    1.12 +
    1.13 +cd ..\examples\
    1.14 +set CPPFILE=CImg_demo captcha curve_editor dtmri_view edge_explorer fade_images generate_loop_macros greycstoration hough_transform image2ascii image_registration image_surface jawbreaker mcf_levelsets3D mcf_levelsets odykill pde_heatflow2D pde_TschumperleDeriche2D radon_transform scene3d tetris tron tutorial wavelet_atrous use_draw_gradient use_greycstoration use_nlmeans use_RGBclass use_skeleton gmic
    1.15 +FOR %%F IN (%CPPFILE%) DO (
    1.16 +  %CPP% %%F.cpp
    1.17 +  %LDD% %%F.obj %LDDLIBS%
    1.18 +)
    1.19 +
    1.20 +
    1.21 +
    1.22 +
    1.23 +