From 0d7d45ac4e885157aec93c6a645bc866a64355ef Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 27 Mar 2023 18:12:03 +1000 Subject: [PATCH] feat(windows): make output dir match keyman standard --- windows/src/support/texteditor/Editor.vcxproj | 13 +++++++++++++ windows/src/support/texteditor/Makefile | 11 ++++++----- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/windows/src/support/texteditor/Editor.vcxproj b/windows/src/support/texteditor/Editor.vcxproj index 1dbdf64d4a..4b01793829 100644 --- a/windows/src/support/texteditor/Editor.vcxproj +++ b/windows/src/support/texteditor/Editor.vcxproj @@ -31,6 +31,8 @@ true v142 Unicode + $(ProjectDir)bin\$(Platform)\$(Configuration)\ + $(ProjectDir)obj\$(Platform)\$(Configuration)\ Application @@ -38,12 +40,16 @@ v142 true Unicode + $(ProjectDir)bin\$(Platform)\$(Configuration)\ + $(ProjectDir)obj\$(Platform)\$(Configuration)\ Application true v142 Unicode + $(ProjectDir)bin\$(Platform)\$(Configuration)\ + $(ProjectDir)obj\$(Platform)\$(Configuration)\ Application @@ -51,6 +57,8 @@ v142 true Unicode + $(ProjectDir)bin\$(Platform)\$(Configuration)\ + $(ProjectDir)obj\$(Platform)\$(Configuration)\ @@ -72,15 +80,19 @@ true + $(ProjectName)32 false + $(ProjectName)32 true + $(ProjectName)64 false + $(ProjectName)64 @@ -92,6 +104,7 @@ Windows true + $(OutDir)$(TargetName)$(TargetExt) diff --git a/windows/src/support/texteditor/Makefile b/windows/src/support/texteditor/Makefile index f5aaba9cf9..331b06e66a 100644 --- a/windows/src/support/texteditor/Makefile +++ b/windows/src/support/texteditor/Makefile @@ -6,18 +6,19 @@ build: $(MSBUILD) editor.vcxproj $(MSBUILD_BUILD) - $(COPY) Release\editor.exe $(PROGRAM)\support - $(COPY) Release\editor.pdb $(DEBUGPATH)\support + $(COPY) $(WIN32_TARGET_PATH)\editor32.exe $(PROGRAM)\support + $(COPY) $(WIN32_TARGET_PATH)\editor32.pdb $(PROGRAM)\support + $(COPY) $(X64_TARGET_PATH)\editor64.exe $(PROGRAM)\support + $(COPY) $(X64_TARGET_PATH)\editor64.pdb $(PROGRAM)\support clean: def-clean $(MSBUILD) $(MSBUILD_CLEAN) editor.sln - rmdir /s /q release signcode: - $(SIGNCODE) /d "Keyman Engine x64" $(PROGRAM)\support\editor.exe + $(SIGNCODE) /d "Text Editor for testing Keyman" $(PROGRAM)\support\editor32.exe install: - $(COPY) $(PROGRAM)\support\editor.exe "$(INSTALLPATH_KEYMANENGINE)" + $(COPY) $(PROGRAM)\support\editor32.exe "$(INSTALLPATH_KEYMANENGINE)" !include ..\..\Target.mak