comparison makefile.vc @ 2080:8f08d4c9d3fc

Win: Visual Studio 2015 sets PLATFORM=x64 in 64bit intel mode so use that to detect the build mode, if possible. Older versions will default to 32bit mode, so set TARGET_CPU=x64 if neccessary. More updates to the readme.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 25 May 2020 13:03:01 +0000
parents f02266370e74
children 3144912829e2
comparison
equal deleted inserted replaced
2079:f02266370e74 2080:8f08d4c9d3fc
27 # Configure settings for the target platform 27 # Configure settings for the target platform
28 # Default to x86 if not specified 28 # Default to x86 if not specified
29 # 29 #
30 !if "$(TARGET_CPU)" == "" 30 !if "$(TARGET_CPU)" == ""
31 !if "$(VSCMD_ARG_TGT_ARCH)" == "" 31 !if "$(VSCMD_ARG_TGT_ARCH)" == ""
32 !if "$(PLATFORM)" == ""
32 TARGET_CPU=x86 33 TARGET_CPU=x86
34 !else
35 TARGET_CPU=$(PLATFORM)
36 !endif
33 !else 37 !else
34 TARGET_CPU=$(VSCMD_ARG_TGT_ARCH) 38 TARGET_CPU=$(VSCMD_ARG_TGT_ARCH)
35 !endif 39 !endif
36 !endif 40 !endif
37 41