{"id":22374644,"url":"https://github.com/blueokiris/acbs","last_synced_at":"2026-05-02T13:34:46.569Z","repository":{"id":254521662,"uuid":"843082349","full_name":"blueOkiris/acbs","owner":"blueOkiris","description":"An easy to use build-system for C","archived":false,"fork":false,"pushed_at":"2024-08-24T05:43:27.000Z","size":86,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T17:41:38.813Z","etag":null,"topics":["acbs","build","c","compile","cpp","language","system"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blueOkiris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-08-15T18:38:26.000Z","updated_at":"2024-08-24T15:14:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"32daa631-2f21-4ea2-80bc-a95d4fed394e","html_url":"https://github.com/blueOkiris/acbs","commit_stats":null,"previous_names":["blueokiris/acbs"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/blueOkiris/acbs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueOkiris%2Facbs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueOkiris%2Facbs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueOkiris%2Facbs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueOkiris%2Facbs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blueOkiris","download_url":"https://codeload.github.com/blueOkiris/acbs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueOkiris%2Facbs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32536579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T12:25:33.646Z","status":"ssl_error","status_checked_at":"2026-05-02T12:24:51.733Z","response_time":132,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["acbs","build","c","compile","cpp","language","system"],"created_at":"2024-12-04T21:18:05.579Z","updated_at":"2026-05-02T13:34:46.555Z","avatar_url":"https://github.com/blueOkiris.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ACBS - Another C Build System\n\n## Description\n\nAn easy to use build-system for C.\n\n### Motivation\n\nMakefile is pretty solid, but like C, it is very free, which means when someone who doesn't know what they are doing touches it, it can become horrendous.\n\nBuilding C code is pretty simple tho, so making something a bit more restrictive is not a terrible idea.\n\nYet somehow everyone that has tried has failed horribly. Cmake is arcane magic. Bazel is a complicated mess.\n\nI just want something that can build a project.\n\n## Anatomy of a Project File\n\nTo specify a project, you provide some metadata via an `acbs.ini`\n\n### INI Format\n\nThe .ini format is not properly specified, so I will note how these work:\n\n- Support for String, Boolean, and List of String types for values (will add integers at some point if necessary)\n- Case-sensitive key names\n- Leading whitespace after '=' is ignored, but trailing and interspersed whitespace in strings is NOT ignored\n- Values with defaults do not have to be specified unless you wish to change them.\n\n### Compiler Settings\n\nUnder the `[compiler]` section, you can set the following options:\n\n| Option           | Type   | Default           | Description                                                      |\n|:----------------:|:------:|:-----------------:|:----------------------------------------------------------------:|\n| compiler         | String | gcc               | Compiler to use                                                  |\n| flags            | String | -O2 -Wall -Werror | Flags to use when building individual C files in release mode    |\n| debugflags       | String | -g                | Flags to use when building individual C files in debug mode      |\n| linker           | String | gcc               | Linker to use                                                    |\n| linkerflags      | String |                   | Flags to add to linker                                           |\n| objoutpfx        | String | \"-o \"             | What to put in front of the .o file name in the compile cmd      |\n| incpfx           | String | \"-I\"              | What to put in front of include folders in the compile cmd       |\n| srcpfx           | String | \"-c \"             | What to put in front of the .c/.cpp file name in the compile cmd |\n| linkeroutpfx     | String | \"-o \"             | What to put in front of the final object name in the link cmd    |\n| linkerflagsafter | Bool   | true              | Whether linker flags go after the object files or before         |\n\n### Project Settings\n\nUnder the `[project]` section, you can set the following options:\n\n| Option     | Type   | Default            | Description                                                        |\n|:----------:|:------:|:------------------:|:------------------------------------------------------------------:|\n| name       | String | None. Must specify | Name of the project                                                |\n| isbin      | Bool   | true               | True means it produces a binary. False means it produces a library |\n| iscpp      | Bool   | false              | True means look for .cpp and .hpp. False means look for .c and .h  |\n| include    | List   | include            | Where to look for .h files                                         |\n| source     | List   | src                | Where to look for .c files                                         |\n| build      | String | obj                | Where to put .o files                                              |\n\n### Shell Commands\n\nEvery string value supports running shell code by placing it between `$(...)`.\n\nConsider: `$(pkg-config --cflags SDL2_image)`\n\n## Usage\n\nFrom a folder with an `acbs.ini` file, run the following commands:\n\n| Command | Description                                                        |\n|:-------:|:------------------------------------------------------------------:|\n| build   | Using release flags, build changed files into a binary or library. |\n| debug   | Clean and build all C files using debug flags.                     |\n| clean   | Clean up binaries and object files                                 |\n\nYou can optionally specify the folder containing an acbs.ini by providing it as a second argument.\n\n## Build\n\nUse docker. We have a Dockerfile in the main directory which will build an x86\\_64 Linux compatible binary via Debian\n\nBuild Image: `docker build --no-cache -t acbs-bldr .`\nRun Image:\n\n- Build: `docker run --rm -v .:/proj -e HOST_UID=$(id -u) -e HOST_GID=$(id -g) acbs-bldr`\n- Debug Build: `docker run -e COMMAND=debug --rm -v .:/proj -e HOST_UID=$(id -u) -e HOST_GID=$(id -g) acbs-bldr`\n- Clean: `docker run -e COMMAND=clean --rm -v .:/proj -e HOST_UID=$(id -u) -e HOST_GID=$(id -g) acbs-bldr`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblueokiris%2Facbs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblueokiris%2Facbs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblueokiris%2Facbs/lists"}