Home

Awesome

Ada-WinRT

This project provides a set of Ada bindings (aka language projection) to the Microsoft Windows WinRT API and is targeted at two distinct use cases

These bindings have been generated from the metadata describing the WinRT api provided in the Microsoft Windows 10 SDK 20H1 (build 10.0.19041)

Project Status

v 1.0 Released

Prerequisites

You will need a working gcc/gnat x64 Windows build environment. This release has NOT yet been tested against 32 bit environments. You may need to build gcc/gnat x64 from source if required. Details/scripts on how to do this can be found on the mingw64 website, alternatively install using MSYS2

Project Dependencies

Winrt is dependent upon Winrt_Runtime project. Please clone and build/install this project before attempting to use this project.

Configuration Instructions

The Winrt.gpr needs to know where to install the project files/artifacts, this is specified by the variable named Base_Installation_Dir within the gpr file. You will need to change this value to suit your environment.

For example

Build instructions

From a command prompt that has your gcc/gnat x64 distribution/build environments bin directory in its path, simply run the following commands.

Alternatively, their is a build.cmd script as part of the distribution that runs the above two commands.

Notes

If you have previously built this runtime for a different target/version. Then please clean your previous env by executing the following command

Examples

Please see the appropriate readme within the appropiate directory. The following samples are provided

Feedback

Welcome