Changeset 11256 for trunk/gsdl/src/phind


Ignore:
Timestamp:
2006-02-15T14:36:10+13:00 (18 years ago)
Author:
mdewsnip
Message:

Added a "GSDL_VC4" option that has to be specified with the nmake command when using Visual C++ 4. This is used to determine whether "-GX" (Visual C++ 4) or "-EHsc" (Visual C++ 6/Visual Studio 2005) is specified as a command-line option to the compiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/phind/generate/win32.mak

    r11254 r11256  
    2626
    2727GSDLHOME = ..\..\..
     28GSDL_VC4 = 0
    2829USE_STLPORT = 0
    2930STLPATH = "$(GSDLHOME)\packages\windows\stlport\stlport"
     
    3132AR = lib
    3233CC = cl
     34
     35!IF $(GSDL_VC4)
    3336CPPFLAGS = -GX
     37!ELSE
     38CPPFLAGS = -EHsc
     39!ENDIF
     40
    3441LDFLAGS =
    3542DEFS = -D__WIN32__
Note: See TracChangeset for help on using the changeset viewer.