version 1.36, 2005/05/12 15:27:28
|
version 1.40, 2005/12/16 19:44:35
|
|
|
# | # |
# The flags set here should be valid for VC 6. | # The flags set here should be valid for VC 6. |
# | # |
CXX_VERSION_FLAGS := -GX |
# The -Zm105 flag was added as part of bug 4418 to resolve this compile error: |
|
# C:\Program Files\Microsoft Visual Studio\VC98\include\xlocale(467) : |
|
# fatal error C1076: compiler limit : internal heap limit reached; use /Zm to |
|
# specify a higher limit |
|
# |
|
CXX_VERSION_FLAGS := -GX -Zm105 |
CXX_VERSION_DEBUG_FLAGS := | CXX_VERSION_DEBUG_FLAGS := |
CXX_VERSION_RELEASE_FLAGS := | CXX_VERSION_RELEASE_FLAGS := |
LINK_VERSION_RELEASE_FLAGS := | LINK_VERSION_RELEASE_FLAGS := |
|
|
endif | endif |
| |
| |
ifdef PEGASUS_DEBUG |
ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS |
FLAGS = $(CXX_VERSION_FLAGS) $(CXX_VERSION_DEBUG_FLAGS) -GR -W3 -Od -Zi -MDd -DDEBUG -Fd$(OBJ_DIR)/ | FLAGS = $(CXX_VERSION_FLAGS) $(CXX_VERSION_DEBUG_FLAGS) -GR -W3 -Od -Zi -MDd -DDEBUG -Fd$(OBJ_DIR)/ |
LINK_FLAGS += -debug | LINK_FLAGS += -debug |
else | else |
|
|
DEFINES += -DPEGASUS_DEBUG_CIMEXCEPTION | DEFINES += -DPEGASUS_DEBUG_CIMEXCEPTION |
endif | endif |
| |
|
# if PEGASUS_ENABLE_SLP is already set then honor the users preference else |
# Enable the compilation of the SLP functions. | # Enable the compilation of the SLP functions. |
ifdef PEGASUS_ENABLE_SLP |
# |
DEFINES+= -DPEGASUS_ENABLE_SLP |
ifndef PEGASUS_ENABLE_SLP |
|
PEGASUS_ENABLE_SLP = true |
endif | endif |
| |
# ATTN KS 20020927 - Add flag to allow conditional testing of interoperability | # ATTN KS 20020927 - Add flag to allow conditional testing of interoperability |