{
  "authors": [
    "Intermetrics",
    "AdaCore"
  ],
  "available": {
    "case(os)": {
      "...": false,
      "windows": true
    }
  },
  "configuration": {
    "disabled": true
  },
  "description": "Ada API to the Windows library",
  "gpr-externals": {
    "PRJ_BUILD": [
      "Debug",
      "Release"
    ],
    "PRJ_TARGET": [
      "Win32",
      "Win64"
    ]
  },
  "gpr-set-externals": {
    "PRJ_BUILD": "Release",
    "PRJ_TARGET": "Win64",
    "TARGET": "Win64"
  },
  "long-description": "Due to a subpar integration of Win32Ada in Alire, any project using Win32Ada\nspecs must also have the Win32Ada pre-processing switches. \n\nDo this edit your GPR project file to:\n1. With the \"shared\" project from Win32Ada: `with \"shared.gpr\";`\n2. Add the following switches for Ada: `(Shared.Prep, \"-gnateG\");`\n\nHere's what it looks like in an example project:\n```ada\nwith \"config/test_win32_config.gpr\";\n\nwith \"shared.gpr\";\n\nproject Test_Win32 is\n\n   for Source_Dirs use (\"src/\", \"config/\");\n   for Object_Dir use \"obj/\" & Test_Win32_Config.Build_Profile;\n   for Create_Missing_Dirs use \"True\";\n   for Exec_Dir use \"bin\";\n   for Main use (\"test_win32.adb\");\n\n   package Compiler is\n      for Default_Switches (\"Ada\") use\n        Test_Win32_Config.Ada_Compiler_Switches &\n        (Shared.Prep, \"-gnateG\"); -- See this line here\n   end Compiler;\n\n   package Binder is\n      for Switches (\"Ada\") use (\"-Es\");\n   end Binder;\n\n   package Install is\n      for Artifacts (\".\") use (\"share\");\n   end Install;\n\nend Test_Win32;\n```\n\n",
  "maintainers": [
    "chouteau@adacore.com"
  ],
  "maintainers-logins": [
    "Fabien-Chouteau"
  ],
  "name": "win32ada",
  "origin": {
    "hashes": [
      "sha512:680108e6097837aa85403e0a7c9045380eb979187faf4400f1537502d3e224edf7a6f9e1f351783901e1b7d815c61b5cfcb7df8b1bf93c1670df280b32ca41a1"
    ],
    "url": "https://github.com/AdaCore/win32ada/archive/v23.0.0/win32ada-23.0.0.zip"
  },
  "tags": [
    "windows",
    "api"
  ],
  "version": "23.0.0",
  "website": "https://github.com/adacore/win32ada"
}
