PTdecode/CImg-1.3.0/resources/compile_win_icl.bat

Wed, 05 Aug 2009 15:15:47 +0100

author
Philip Pemberton <philpem@philpem.me.uk>
date
Wed, 05 Aug 2009 15:15:47 +0100
changeset 15
e5577dd259c6
parent 5
1204ebf9340d
permissions
-rwxr-xr-x

multiple fixes -- now prints successfully to a PT-2450DX.
FIX: job options were being set in GetStatus, now moved to their rightful home in Initialise()
REFACTOR: small mods to structure of Initialise, now uses PT_ERR_* consts, calls pt_Close on failure, exit logic slightly changed.
FIX: debug options should NOT have been set in Hg source (especially SKIP_STATUS_READBACK), now fixed.

     1 @echo off
     2 Rem Intel(R) C++ Compiler Build Environment for 32-bit applications
     4 echo.
     5 echo Intel(R) C++ Compiler 8.0 Build Environment for 32-bit applications
     6 echo Copyright (C) 1985-2003 Intel Corporation. All rights reserved.
     7 echo.
     9 @call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\Bin\Vcvars32.bat"
    11 echo.
    13 SET INTEL_COMPILER80=C:\Program Files\Intel\CPP\Compiler80
    14 SET INTEL_SHARED=C:\Program Files\Fichiers communs\Intel\Shared Files
    15 SET INTEL_LICENSE_FILE=C:\Program Files\Fichiers communs\Intel\Licenses
    16 SET PATH=%INTEL_COMPILER80%\Ia32\Bin;%INTEL_SHARED%\Ia32\Bin;%PATH%
    17 SET LIB=%INTEL_COMPILER80%\Ia32\Lib;%INTEL_SHARED%\Ia32\Lib;%LIB%
    18 SET INCLUDE=%INTEL_COMPILER80%\Ia32\Include;%INCLUDE%
    20 cd ..\examples\
    21 echo.
    22 echo ** Compiling 'CImg_demo'
    23 echo.
    24 icl /GX /Ox CImg_demo.cpp gdi32.lib user32.lib