{"id":26633631,"url":"https://github.com/ahajha/build-system","last_synced_at":"2025-06-15T21:05:44.682Z","repository":{"id":190089605,"uuid":"626719937","full_name":"Ahajha/build-system","owner":"Ahajha","description":"(Name WIP) A build system focused on ease of use","archived":false,"fork":false,"pushed_at":"2023-10-11T04:47:47.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-10-11T09:40:31.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ahajha.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}},"created_at":"2023-04-12T03:02:52.000Z","updated_at":"2023-09-14T22:43:25.000Z","dependencies_parsed_at":"2024-03-13T23:30:18.259Z","dependency_job_id":null,"html_url":"https://github.com/Ahajha/build-system","commit_stats":null,"previous_names":["ahajha/build-system"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahajha%2Fbuild-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahajha%2Fbuild-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahajha%2Fbuild-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahajha%2Fbuild-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ahajha","download_url":"https://codeload.github.com/Ahajha/build-system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245294719,"owners_count":20591909,"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":"2025-03-24T15:15:54.426Z","updated_at":"2025-03-24T15:15:55.059Z","avatar_url":"https://github.com/Ahajha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Name Pending\n\nCurrent name is \"samur.py\", a play on \"ninja\", the underlying build system.\n\n# Goal\n\nWould like a simple file format for building, inspired by cargo's `cargo.toml`.\n\nWe want at least the following options, with some suggesstions for defaults:\nCompiler: gcc on Linux (maybe just 'c++'), MSVC on Windows, clang on MacOS\nLinker: lld everywhere\nBuild modes:\n  Release: Optimization flags, NDEBUG\n  Debug: Default, DEBUG\nPosition-independent by default\nHidden visibility by default\n\nTargets should look something like:\n\n```toml\n[target1]\nkind = \"staticlib\"\ninclude_dir = \"include\"\nsources = [\"source1.cpp\", \"source2.cpp\"]\n```\n\nAll paths are relative to the build file\n\n(Using CMake terminology for a second)\nInclude directories are 'public', sources are 'private'. Header-only is an 'interface'.\n\nEventually the goal is to have this hooked up to Conan directly\nso that dependencies can be read in directly, and information can\nbe passed seamlessly between them.\n\n# Running\n\nCurrently, examples can be run like so:\n```\npython3 samur.py test/01/build.toml\n```\nThis produces the executable `test/01/build/main`.\n\n# Running tests\n\nFrom the top level directory:\n```\npython3 -m unittest test/unit_tests.py\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahajha%2Fbuild-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahajha%2Fbuild-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahajha%2Fbuild-system/lists"}