Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.02 KB

File metadata and controls

41 lines (28 loc) · 1.02 KB

Compiling on Windows

Build Requirements

Setup

Install WiX:

powershell -ExecutionPolicy ByPass -File win32\setup-wix.ps1

Install dependencies via vcpkg:

$env:VCPKG_INSTALLED = "vcpkg_installed"
$env:VCPKG_DEFAULT_TRIPLET = "x64-windows-static"
vcpkg install `
  --overlay-ports win32/ports `
  --x-feature=zlib `
  --x-feature=openpace `
  --x-manifest-root win32 `
  --x-install-root $env:VCPKG_INSTALLED

Omit --x-feature flags for features you don't need or skip this step if you do not need OpenSSL.

Build OpenSC

Open a Visual Studio Developer Command Prompt and change to the OpenSC directory. Build the OpenSC binaries and installer:

nmake /f Makefile.mak OpenSC.msi

Code Signing

Free code signing provided by SignPath.io, certificate by SignPath Foundation.