57
58 # Let's add debug information when Full Debug Symbols is enabled
59 !if "$(ENABLE_FULL_DEBUG_SYMBOLS)" == "1"
60 CXX_FLAGS=$(CXX_FLAGS) /Zi
61 !endif
62
63 # Based on BUILDARCH we add some flags and select the default compiler name
64 !if "$(BUILDARCH)" == "ia64"
65 MACHINE=IA64
66 CXX_FLAGS=$(CXX_FLAGS) /D "CC_INTERP" /D "_LP64" /D "IA64"
67 !endif
68
69 !if "$(BUILDARCH)" == "amd64"
70 MACHINE=AMD64
71 CXX_FLAGS=$(CXX_FLAGS) /D "_LP64" /D "AMD64"
72 LP64=1
73 !endif
74
75 !if "$(BUILDARCH)" == "i486"
76 MACHINE=I386
77 CXX_FLAGS=$(CXX_FLAGS) /D "IA32"
78 !endif
79
80 CXX_FLAGS=$(CXX_FLAGS) /D "WIN32" /D "_WINDOWS"
81 # Must specify this for sharedRuntimeTrig.cpp
82 CXX_FLAGS=$(CXX_FLAGS) /D "VM_LITTLE_ENDIAN"
83
84 # Used for platform dispatching
85 CXX_FLAGS=$(CXX_FLAGS) /D TARGET_OS_FAMILY_windows
86 CXX_FLAGS=$(CXX_FLAGS) /D TARGET_ARCH_$(Platform_arch)
87 CXX_FLAGS=$(CXX_FLAGS) /D TARGET_ARCH_MODEL_$(Platform_arch_model)
88 CXX_FLAGS=$(CXX_FLAGS) /D TARGET_OS_ARCH_windows_$(Platform_arch)
89 CXX_FLAGS=$(CXX_FLAGS) /D TARGET_OS_ARCH_MODEL_windows_$(Platform_arch_model)
90 CXX_FLAGS=$(CXX_FLAGS) /D TARGET_COMPILER_visCPP
91
92
93 # MSC_VER is a 4 digit number that tells us what compiler is being used
94 # and is generated when the local.make file is created by build.make
95 # via the script get_msc_ver.sh
96 #
97 # If MSC_VER is set, it overrides the above default setting.
|
57
58 # Let's add debug information when Full Debug Symbols is enabled
59 !if "$(ENABLE_FULL_DEBUG_SYMBOLS)" == "1"
60 CXX_FLAGS=$(CXX_FLAGS) /Zi
61 !endif
62
63 # Based on BUILDARCH we add some flags and select the default compiler name
64 !if "$(BUILDARCH)" == "ia64"
65 MACHINE=IA64
66 CXX_FLAGS=$(CXX_FLAGS) /D "CC_INTERP" /D "_LP64" /D "IA64"
67 !endif
68
69 !if "$(BUILDARCH)" == "amd64"
70 MACHINE=AMD64
71 CXX_FLAGS=$(CXX_FLAGS) /D "_LP64" /D "AMD64"
72 LP64=1
73 !endif
74
75 !if "$(BUILDARCH)" == "i486"
76 MACHINE=I386
77 # VS2013 generates bad l2f without /arch:IA32
78 CXX_FLAGS=$(CXX_FLAGS) /D "IA32" /arch:IA32
79 !endif
80
81 CXX_FLAGS=$(CXX_FLAGS) /D "WIN32" /D "_WINDOWS"
82 # Must specify this for sharedRuntimeTrig.cpp
83 CXX_FLAGS=$(CXX_FLAGS) /D "VM_LITTLE_ENDIAN"
84
85 # Used for platform dispatching
86 CXX_FLAGS=$(CXX_FLAGS) /D TARGET_OS_FAMILY_windows
87 CXX_FLAGS=$(CXX_FLAGS) /D TARGET_ARCH_$(Platform_arch)
88 CXX_FLAGS=$(CXX_FLAGS) /D TARGET_ARCH_MODEL_$(Platform_arch_model)
89 CXX_FLAGS=$(CXX_FLAGS) /D TARGET_OS_ARCH_windows_$(Platform_arch)
90 CXX_FLAGS=$(CXX_FLAGS) /D TARGET_OS_ARCH_MODEL_windows_$(Platform_arch_model)
91 CXX_FLAGS=$(CXX_FLAGS) /D TARGET_COMPILER_visCPP
92
93
94 # MSC_VER is a 4 digit number that tells us what compiler is being used
95 # and is generated when the local.make file is created by build.make
96 # via the script get_msc_ver.sh
97 #
98 # If MSC_VER is set, it overrides the above default setting.
|