Mercurial > dwib
changeset 329:e2837b0c8317
Win: Changed build to pull target CPU from the Visual C build environment.
author | Brian Smith <brian@dbsoft.org> |
---|---|
date | Wed, 31 Jul 2019 19:42:47 -0500 |
parents | 68be2e0cf283 |
children | e6c6c1ac6fe2 |
files | makefile.vc |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/makefile.vc Wed Jul 31 19:40:54 2019 -0500 +++ b/makefile.vc Wed Jul 31 19:42:47 2019 -0500 @@ -13,8 +13,10 @@ # Configure settings for the target platform # Default to x86 if not specified # -!if "$(TARGET_CPU)" == "" +!if "$(VSCMD_ARG_TGT_ARCH)" == "" TARGET_CPU=x86 +!else +TARGET_CPU=$(VSCMD_ARG_TGT_ARCH) !endif !if "$(TARGET_CPU)" == "x86" @@ -77,7 +79,7 @@ # Create a zip file for use with Nullsoft's Install system # Requires NSIS and makensis to be in the PATH installer: - rd /s /q install\package + -rd /s /q install\package md install\package copy dwib.exe install\package copy $(DWINCDIR)\dw.dll install\package