Mercurial > HandyFTP
changeset 122:e26fa2bb2b87
Win: Use PLATFORM to detect target CPU using Visual Studio 2015.
author | Brian Smith <brian@dbsoft.org> |
---|---|
date | Wed, 01 Jul 2020 00:06:19 -0500 |
parents | 11b6f3a52c5a |
children | f9502f068ac7 |
files | src/makefile.vc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/makefile.vc Wed Aug 07 03:43:11 2019 -0500 +++ b/src/makefile.vc Wed Jul 01 00:06:19 2020 -0500 @@ -13,8 +13,12 @@ # !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