{"id":13408252,"url":"https://github.com/AdaCore/gprbuild","last_synced_at":"2025-03-14T12:32:29.431Z","repository":{"id":37381872,"uuid":"54191917","full_name":"AdaCore/gprbuild","owner":"AdaCore","description":"GPRbuild is an advanced build system designed to help automate the construction of multi-language systems.","archived":false,"fork":false,"pushed_at":"2024-05-28T12:50:35.000Z","size":15136,"stargazers_count":64,"open_issues_count":31,"forks_count":21,"subscribers_count":38,"default_branch":"master","last_synced_at":"2024-05-29T04:24:49.808Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ada","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AdaCore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.RUNTIME","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-18T10:04:46.000Z","updated_at":"2024-06-10T17:13:06.336Z","dependencies_parsed_at":"2023-10-19T14:30:46.056Z","dependency_job_id":"41e4ac72-f0e0-41f7-80f1-13bd44194fd4","html_url":"https://github.com/AdaCore/gprbuild","commit_stats":{"total_commits":3963,"total_committers":67,"mean_commits":"59.149253731343286","dds":0.6315922281100177,"last_synced_commit":"7487248cd0b1cd3e0a55ebaf27379c30cb02c8f3"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdaCore%2Fgprbuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdaCore%2Fgprbuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdaCore%2Fgprbuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdaCore%2Fgprbuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdaCore","download_url":"https://codeload.github.com/AdaCore/gprbuild/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238394371,"owners_count":19464586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T20:00:51.710Z","updated_at":"2025-03-14T12:32:24.513Z","avatar_url":"https://github.com/AdaCore.png","language":"Ada","funding_links":[],"categories":["Deployment"],"sub_categories":["Build and Package"],"readme":"Preliminary note for Windows users\n==================================\n\nThe build instructions for `gprbuild` may have a slight UNIX flavor but they can\nbe used on Windows platforms with a full Cygwin installation. The latter makes\nit simpler to build `gprbuild` but is not required to use it.\n\nBootstrapping\n=============\n\n`gprbuild` needs `gprbuild` to build... So we also provide a way to\neasily bootstrap if you don't already have `gprbuild`, provided you\nalready have installed GNAT.\n\nDownload XML/Ada sources (from https://github.com/AdaCore/xmlada), together\nwith the gprconfig knowledge base (from\nhttps://github.com/AdaCore/gprconfig_kb).\n\nRun the `bootstrap.sh` script (written for POSIX systems) specifying the\ninstall location and the sources of `XML/Ada` and `gprconfig_kb`. The script\nwill build *and* install `gprbuild`.\n\nFor example, to build `gprbuild` and install it to `./bootstrap` in the current\nworking directory, run:\n\n    $ ./bootstrap.sh --with-xmlada=../xmlada --with-kb=../gprconfig_kb --prefix=./bootstrap\n\nFor maintainers, the environment `DESTDIR` is honoured for staged installs, see\n`./bootstrap.sh -h` for more.\n\nWith this bootstrapped `gprbuild`, you can build XML/Ada and `gprbuild`\nas documented below.\n\nConfiguring\n===========\n\nYou should first configure the build like this (if you plan to build in\nthe source tree directly, you can omit setting the SOURCE_DIR variable):\n\n    $ make prefix=xxx SOURCE_DIR=/path/to/gprbuild/sources setup\n\nBuilding and Installing\n=======================\n\nXML/Ada must be installed before building.\n\nBuilding the main executables is done simply with:\n\n    $ make all\n\nWhen compiling, you can choose whether you want to link statically with XML/Ada\n(the default), or dynamically. To compile dynamically, you should run:\n\n    $ make LIBRARY_TYPE=relocatable all\n\ninstead of the above.\n\nInstallation is done with:\n\n    $ make install\n\nTo build and install LIBGPR libraries, you can use the make targets\nlibgpr.build and libgpr.install.\n\nDoc \u0026 Examples\n==============\n\nThe documentation is provided in various formats in the `doc` subdirectory. You\ncan also find it\n[online](http://docs.adacore.com/gprbuild-docs/html/gprbuild_ug.html).\n\nIt refers to concrete examples that are to be found in the `examples`\nsubdirectory. Each example can be built easily using the simple attached\nMakefile:\n\n    $ make all    # build the example\n    $ make run    # run the executable(s)\n    $ make clean  # cleanup\n\nAll the examples can be `built/run/cleaned` using the same targets and the top\nlevel examples Makefile.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAdaCore%2Fgprbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAdaCore%2Fgprbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAdaCore%2Fgprbuild/lists"}