{"id":20559827,"url":"https://github.com/cxw42/smallcxx","last_synced_at":"2026-06-10T09:31:47.331Z","repository":{"id":39641555,"uuid":"348550625","full_name":"cxw42/smallcxx","owner":"cxw42","description":"Small C++ libraries","archived":false,"fork":false,"pushed_at":"2025-03-30T01:34:32.000Z","size":1855,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T02:22:50.739Z","etag":null,"topics":["c-plus-plus","cpp","cxx","cxx11","library","lightweight","logging-library","small","test-framework","test-harness"],"latest_commit_sha":null,"homepage":"https://cxw42.github.io/smallcxx/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cxw42.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}},"created_at":"2021-03-17T02:04:24.000Z","updated_at":"2025-03-30T01:34:17.000Z","dependencies_parsed_at":"2023-02-08T08:32:03.268Z","dependency_job_id":null,"html_url":"https://github.com/cxw42/smallcxx","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cxw42/smallcxx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxw42%2Fsmallcxx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxw42%2Fsmallcxx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxw42%2Fsmallcxx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxw42%2Fsmallcxx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cxw42","download_url":"https://codeload.github.com/cxw42/smallcxx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxw42%2Fsmallcxx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34146871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["c-plus-plus","cpp","cxx","cxx11","library","lightweight","logging-library","small","test-framework","test-harness"],"created_at":"2024-11-16T03:52:20.030Z","updated_at":"2026-06-10T09:31:47.064Z","avatar_url":"https://github.com/cxw42.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smallcxx - Small C++ libraries\n\nThese use C++11.\n\nAll code Copyright (c) 2021 Christopher White, unless otherwise indicated.\n\n## Overview\n\nThis is a C++11 project using autotools as the build system.\n\nThe modules are:\n\n### Always built\n\n- `logging`: multi-level logging library\n- `string`: some string functions not in `string.h` and friends\n- `test`: basic testcase-management and test-assertion library\n\n### Optional\n\n- `globstari`: file-globbing and ignore-files routines\n  - Depends on PCRE2\n\n## Using\n\n### Compiling with gcc\n\n    ./configure \u0026\u0026 make -j  # normal\n    ./coverage.sh           # for code coverage\n    ./asan.sh               # for Address Sanitizer\n\n### Compiling with clang\n\n    ./configure CC=clang CXX=clang++ \u0026\u0026 make -j\n    ./asan.sh clang                             # for Address Sanitizer\n\nNote that `CXX` does have to be `clang++`, not just `clang`.\n\n## Third-party software used by smallcxx\n\n- [editorconfig-core-c](https://github.com/editorconfig/editorconfig-core-c)\n  by the EditorConfig team.  Licensed under various BSD licenses.\n  Included in the `globstari` module\n\n## Developing\n\n### Development dependencies\n\n- Pretty-printing: Artistic Style, Ubuntu package `astyle`.\n- Docs: Doxygen and dot(1) (Ubuntu packages `doxygen` and `graphviz`)\n\n### Starting fresh\n\n    ./autogen.sh \u0026\u0026 make -j maintainer-clean \u0026\u0026 ./autogen.sh\n\nThat will leave you ready to run `make`\n\nThe first time you compile, you may get errors about missing `.deps/*` files.\nIf so, re-run `make`.  If that doesn't work, run `make -jk` once to generate\nthe deps files, and then you should be back in business.\n\n### Running the tests\n\n`make -j check`, or `./asan.sh` for Address Sanitizer testing.\n\n### Structure of the codebase\n\n- `src/`: implementation files\n- `include/smallcxx/`: header files\n- `t/`: tests.  `*-t.sh` and `*-t.cpp` are test sources.  `*-s.cpp` are\n  supporting programs.\n- `doc/`: documentation.  Doxygen output is in `doc/html/index.html`.\n\n### Coding style\n\n- 4-space tabs, cuddled `else`.  Run `make prettyprint` to format your code.\n- All Doxygen tags start with `@` (not backslash).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxw42%2Fsmallcxx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcxw42%2Fsmallcxx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxw42%2Fsmallcxx/lists"}