6.1.3. Building from Source on Windows - 5.2 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2025-12-29
Version
5.2 English

AOCL-Cryptography requires CMake and Microsoft Visual Studio for building the binaries from the sources on Windows.

For detailed steps on compilation flags and build on Windows, refer to

Windows Build README

Configure and Build

  1. Clone the repository aocl-crypto.

  2. Open Command Prompt or PowerShell.

  3. cd aocl-crypto

  4. mkdir build

  5. Run cmake configure using the following options:

    Table 6.2 AOCL-Cryptography - Windows Options#

    Option

    Description

    -A (platform)

    x86/x64

    -B (build directory)

    Build

    -T (toolset)

    ClangCl/LLVM

    -G (specify generator)

    Visual Studio 17 2022/ Visual Studio 16 2019 / Ninja

  6. Build the library:

--config=release/debug
PS>cmake --build ./build --config=release -j