Mercurial > controlcenter
changeset 64:1f1072093321
Win: Use PLATFORM to detect target CPU using Visual Studio 2015.
author | Brian Smith <brian@dbsoft.org> |
---|---|
date | Tue, 30 Jun 2020 23:49:40 -0500 |
parents | f4c276a77745 |
children | 36053ecad688 |
files | makefile.vc |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/makefile.vc Fri May 15 18:30:39 2020 -0500 +++ b/makefile.vc Tue Jun 30 23:49:40 2020 -0500 @@ -11,11 +11,17 @@ # Configure settings for the target platform # Default to x86 if not specified # +!if "$(TARGET_CPU)" == "" !if "$(VSCMD_ARG_TGT_ARCH)" == "" +!if "$(PLATFORM)" == "" TARGET_CPU=x86 !else +TARGET_CPU=$(PLATFORM) +!endif +!else TARGET_CPU=$(VSCMD_ARG_TGT_ARCH) !endif +!endif !if "$(TARGET_CPU)" == "x86" PLATFORM_DEF = -DWIN32