{"id":19788038,"url":"https://github.com/s-martin/sugarpp","last_synced_at":"2025-09-08T11:12:26.521Z","repository":{"id":39917293,"uuid":"178398961","full_name":"s-martin/Sugarpp","owner":"s-martin","description":"Sugarcpp is a small library, which adds syntactic sugar to C++ to make your life easier.","archived":false,"fork":false,"pushed_at":"2025-02-01T01:04:37.000Z","size":409,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-28T03:07:42.000Z","etag":null,"topics":["cpp"],"latest_commit_sha":null,"homepage":"https://s-martin.github.io/Sugarpp","language":"CMake","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/s-martin.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":"2019-03-29T12:10:47.000Z","updated_at":"2024-10-01T08:34:11.000Z","dependencies_parsed_at":"2023-02-18T20:00:30.120Z","dependency_job_id":"8503beb3-6e92-40a8-b1a0-3dbbc87d4ca0","html_url":"https://github.com/s-martin/Sugarpp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/s-martin/Sugarpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-martin%2FSugarpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-martin%2FSugarpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-martin%2FSugarpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-martin%2FSugarpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s-martin","download_url":"https://codeload.github.com/s-martin/Sugarpp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-martin%2FSugarpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274174271,"owners_count":25235203,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"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":["cpp"],"created_at":"2024-11-12T06:25:53.262Z","updated_at":"2025-09-08T11:12:26.492Z","avatar_url":"https://github.com/s-martin.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sugarcpp\n\n[![CI-Linux](https://github.com/s-martin/Sugarpp/actions/workflows/ci-linux.yml/badge.svg)](https://github.com/s-martin/Sugarpp/actions/workflows/ci-linux.yml) [![CI-Windows](https://github.com/s-martin/Sugarpp/actions/workflows/ci-windows.yml/badge.svg)](https://github.com/s-martin/Sugarpp/actions/workflows/ci-windows.yml) [![CodeQL](https://github.com/s-martin/Sugarpp/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/s-martin/Sugarpp/actions/workflows/codeql-analysis.yml) [![Microsoft C++ Code Analysis](https://github.com/s-martin/Sugarpp/actions/workflows/msvc.yml/badge.svg)](https://github.com/s-martin/Sugarpp/actions/workflows/msvc.yml)\n\n[![Coverage Status](https://coveralls.io/repos/github/s-martin/Sugarpp/badge.svg?branch=master)](https://coveralls.io/github/s-martin/Sugarpp?branch=master)\n\nSugarcpp is a small library, which adds syntactic sugar to C++ to make your life easier.\n\n## Compliation\n\nCMake is used for compilation. There are two things to build: the library and the unit tests. Here is the\nshort version of how to build and test everything:\n\n### Windows\n\nUsing [vcpkg](https://github.com/microsoft/vcpkg) to install dependencies is recommended.\n\n1. Clone or download the repository\n\n2. Install dependencies: `vcpkg install boost-test boost-log xerces-c`\n\n#### Visual Studio 2019 or later\n\n3. Open path in Visual Studio as CMake project.\n\n#### Previous versions of Visual Studio\n\n3. `md build \u0026\u0026 cd build`\n\n4. `cmake ../ -DCMAKE_TOOLCHAIN_FILE=\u003cpath to vcpkg\u003e/scripts/buildsystems/vcpkg.cmake`\n\n5. Open created Visual Studio solution file in `build` directory\n\n### Linux (Ubuntu)\n\n1. `sudo apt install libboost-test-dev libboost-log-dev libxerces-c-dev`\n\nIf you want to use code coverage:\n\n2. `sudo apt install lcov gcovr`\n\nConfigure and build:\n\n3. `mkdir build \u0026\u0026 cd build`\n\n4. `cmake ../`\n\n5. `make`\n\nRun unit tests:\n\n6. `make test`\n\n# TODO HERE\n\nRun unit tests and create coverage:\n\n7. `make GAlib_lcov`\n\n8. `make GAlib_gcov`\n\n### Building shared libraries\n\nTo build shared libraries append `-DBUILD_SHARED_LIBS:BOOL=ON` to the above `cmake`command.\n\nSee also \u003chttps://cmake.org/cmake/help/v3.15/variable/BUILD_SHARED_LIBS.html\u003e in the CMake docs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-martin%2Fsugarpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs-martin%2Fsugarpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-martin%2Fsugarpp/lists"}