|
|
||
|---|---|---|
| .. | ||
| buildtools | ||
| desktop | ||
| developer | ||
| engine | ||
| ext | ||
| global | ||
| support | ||
| test | ||
| .gitignore | ||
| _make.bat | ||
| CEF_VERSION.md | ||
| components.groupproj | ||
| Defines.mak | ||
| docopy.bat | ||
| edithistory.txt | ||
| Header.mak | ||
| header_format.txt | ||
| header_template.txt | ||
| LICENSE.md | ||
| Makefile | ||
| nightly_patchbuild.bat | ||
| README.md | ||
| set-release-version.bat | ||
| Target.mak | ||
| TODO.md | ||
| versionhistory.txt | ||
Keyman for Windows and Keyman Developer
Build Prerequisites
Building Keyman for Windows and Keyman Developer
- Start 'Developer Command Prompt for VS 2019'.
- Run
make buildfrom the windows/src folder. - Artifacts from a successful build will be placed in windows/bin folder.
Note: running make build will currently reset the packages and path settings
in your Delphi environment. If you use Delphi for other projects, you should
consider building Keyman under a login user dedicated to it, or in a VM.
Type make to see build targets. Common build targets are:
-
make build: builds Keyman for Windows and Keyman Developer -
make clean: remove temporary files and build artifacts -
make release: makes a release of all Keyman Windows projects -
make install: install some or all components to Program Files (requires elevated command prompt).
Release builds
A release build is not usually needed for local development. To run a release build, you will need to obtain valid code signing certificates. See Certificates, below. Official release builds for Keyman are built in the Keyman project's CI environment.
- Start 'Developer Command Prompt for VS 2019'.
- Run
make releasefrom the windows/src folder. - Artifacts from a successful build will be placed in windows/release folder.
- buildtools/help-keyman-com.sh will push updated documentation to
help.keyman.com. Environment variable
HELP_KEYMAN_COMneeds to be set to the root of the local help.keyman.com git repository.
Note: by default, the version number generated may vary from the current release version. You will not be able to install it over a later version of Keyman, and will need to uninstall and reinstall.
Certificates
In order to create a release build, you will need a code signing certiicate. You can use your own certificate, or you can use test certificates which are not globally trusted.
To Install the Keyman test certificates, do the following for each KeymanTestCA cert in windows/src/buildtools/certificates:
- Open the certificate and click 'Install certificate...' to open the Certificate Import Wizard.
- Select either 'Current User' or 'Local Machine' for 'Store Location' depending on your preference and click Next.
- Select 'Place all certificates in the following store' and 'Browse...' to select 'Trusted Root Certification Authorities'. Click Next and finish the wizard.
Crash Reporting
Crash report dialogs as shown by tsysinfo have a few special secret hotkeys useful for development purposes:
- Ctrl+C - copy details to clipboard
- Ctrl+Shift+C - copy more details to clipboard
- Alt+DblClk on icon - open sentry site to event
- Ctrl+DblClk on icon - show more details in message box