Test ran at 2025-02-17 01:28:34.951720+00:00 SOLUTION: win32ada=23.0.0: Ada API to the Windows library Origin: source archive win32ada-23.0.0.zip at https://github.com/AdaCore/win32ada/archive/v23.0.0/win32ada-23.0.0.zip with hash sha512:680108e6097837aa85403e0a7c9045380eb979187faf4400f1537502d3e224edf7a6f9e1f351783901e1b7d815c61b5cfcb7df8b1bf93c1670df280b32ca41a1 Available when: (case OS is Windows => True, others => False) Properties: Author: Intermetrics Author: AdaCore Configuration: no modifiers Description: Ada API to the Windows library GPR Scenario: PRJ_BUILD := Debug | Release GPR Scenario: PRJ_TARGET := Win32 | Win64 GPR External: PRJ_BUILD := Release GPR External: PRJ_TARGET := Win64 GPR External: TARGET := Win64 Long_Description: Due to a subpar integration of Win32Ada in Alire, any project using Win32Ada specs must also have the Win32Ada pre-processing switches. Do this edit your GPR project file to: 1. With the "shared" project from Win32Ada: `with "shared.gpr";` 2. Add the following switches for Ada: `(Shared.Prep, "-gnateG");` Here's what it looks like in an example project: ```ada with "config/test_win32_config.gpr"; with "shared.gpr"; project Test_Win32 is for Source_Dirs use ("src/", "config/"); for Object_Dir use "obj/" & Test_Win32_Config.Build_Profile; for Create_Missing_Dirs use "True"; for Exec_Dir use "bin"; for Main use ("test_win32.adb"); package Compiler is for Default_Switches ("Ada") use Test_Win32_Config.Ada_Compiler_Switches & (Shared.Prep, "-gnateG"); -- See this line here end Compiler; package Binder is for Switches ("Ada") use ("-Es"); end Binder; package Install is for Artifacts (".") use ("share"); end Install; end Test_Win32; ``` Maintainer: chouteau@adacore.com Maintainers_Logins: Fabien-Chouteau Name: win32ada Tag: windows Tag: api Version: 23.0.0 Website: https://github.com/adacore/win32ada LOG: