-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(windows): merge keyman64 build into keyman32 #11906
refactor(windows): merge keyman64 build into keyman32 #11906
Conversation
Merges the build settings for keyman64.dll vc++ project into the keyman32.dll project, so they are both built from the same project, in preparation for ARM support, to minimize repetition in the source tree. There should be no material differences to the built libraries. Also cleans up some noise in keyman32.vcxproj which made it easier to verify the changes. Fixes: #11904
User Test Results |
@@ -18,7 +18,7 @@ builder_describe "Keyman common Windows modules" \ | |||
|
|||
builder_parse "$@" | |||
|
|||
if [[ $BUILDER_OS != windows ]]; then | |||
if [[ $BUILDER_OS != win ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This script isn't actually used at this point, but I noticed this when testing. Just a silly.
#ifdef _WIN64 | ||
#error hotkeys.cpp is not required for win64. | ||
#endif | ||
#ifndef _WIN64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Swapping the condition around, because the .cpp files are now included with all archs, and it is easier to track in the .cpp than having conditional exclusions in the .vcxproj
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -31,6 +31,9 @@ | |||
//////////////////////////////////////////////////////////////////////////// | |||
|
|||
#include "pch.h" | |||
|
|||
#ifndef _WIN64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be the other way round?
#ifndef _WIN64 | |
#ifdef _WIN64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is correct as it is -- even though that is confusing! The syskbd* files are only used in the x86 host.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a comment or fill in the description at the top?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a comment or fill in the description at the top?
See #11929. Apologies for missing this before merge.
Test Results
|
Co-authored-by: Eberhard Beilharz <[email protected]>
Changes in this pull request will be available for download in Keyman version 18.0.68-alpha |
Merges the build settings for keyman64.dll vc++ project into the keyman32.dll project, so they are both built from the same project, in preparation for ARM support, to minimize repetition in the source tree.
There should be no material differences to the built libraries.
Also cleans up some noise in keyman32.vcxproj which made it easier to verify the changes.
Fixes: #11904
User Testing