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/db2txt/win32.mak

    r11253 r11256  
    2626
    2727GSDLHOME = ..\..
     28GSDL_VC4 = 0
    2829USE_STLPORT = 0
    2930STLPATH = "$(GSDLHOME)\packages\windows\stlport\stlport"
     
    3132AR = lib
    3233CC = cl
    33 CPPFLAGS =
     34
     35!IF $(GSDL_VC4)
     36CPPFLAGS = -GX
     37!ELSE
     38CPPFLAGS = -EHsc
     39!ENDIF
     40
    3441LDFLAGS =
    3542
     
    4552       "$(GSDLHOME)\packages\windows\gdbm\gdbm\gdbm.lib"
    4653
    47 COMPILE = $(CC) -nologo -c -GX $(DEFS) $(INCLUDES)
     54COMPILE = $(CC) -nologo -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
    4855LINK = $(CC) -nologo $(LDFLAGS)
    4956
Note: See TracChangeset for help on using the changeset viewer.