{"id":19351531,"url":"https://github.com/opensourcedoc/cpp-boilerplate-library","last_synced_at":"2025-09-12T23:43:38.145Z","repository":{"id":77782880,"uuid":"367756505","full_name":"opensourcedoc/cpp-boilerplate-library","owner":"opensourcedoc","description":"C++ Boilerplate Project to Build C++ Based Library","archived":false,"fork":false,"pushed_at":"2021-06-18T06:38:21.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T10:35:45.672Z","etag":null,"topics":["boilerplate","boilerplate-library","cpp"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/opensourcedoc.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":"2021-05-16T00:41:28.000Z","updated_at":"2023-07-16T22:21:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"72caee41-8256-4c7b-a186-c3bdf744da83","html_url":"https://github.com/opensourcedoc/cpp-boilerplate-library","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/opensourcedoc/cpp-boilerplate-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fcpp-boilerplate-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fcpp-boilerplate-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fcpp-boilerplate-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fcpp-boilerplate-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensourcedoc","download_url":"https://codeload.github.com/opensourcedoc/cpp-boilerplate-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fcpp-boilerplate-library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274894959,"owners_count":25369690,"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-12T02:00:09.324Z","response_time":60,"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":["boilerplate","boilerplate-library","cpp"],"created_at":"2024-11-10T04:36:33.121Z","updated_at":"2025-09-12T23:43:38.122Z","avatar_url":"https://github.com/opensourcedoc.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ Boilerplate for Library\n\nA C++ boilerplate project to build a C++ based library.\n\n## System Requirements\n\n* C++ compiler (Clang or GCC)\n* GNU Make (for compilation only)\n\n## Usage\n\nClone the project:\n\n```\n$ git clone https://github.com/cwchentw/cpp-boilerplate-library.git mylib\n```\n\nMove your working directory to the root of *mylib*:\n\n```\n$ cd mylib\n```\n\nModify the header and the source as needed. You may add and remove C source files (*.c*) and C++ source files (*.cc*, *.cpp* or *.cxx*) as well.\n\nCompile the project to a dynamic library:\n\n```\n$ make\n```\n\nAlternatively, compile the project to a static library:\n\n```\n$ make static\n```\n\nSet your own remote repository:\n\n```\n$ git remote set-url origin https://example.com/user/project.git\n```\n\nPush your modification to your own repo:\n\n```\n$ git push\n```\n\n## Project Configuration\n\nHere are the parameters in *Makefile*:\n\n* **LIBRARY**: the name of the compiled library, including *lib* the prefix\n* **C_STD**: the C standard as a GCC C dialect\n* **CXX_STD**: the C++ standard as a GCC C++ dialect\n\n## Note\n\nYou may mix C and C++ in the same project as well.\n\nThe project assumes a Unix console environment. Windows users can install [MSYS2](https://www.msys2.org/) to obtain a decent Unix environment.\n\nBecause seldom Visual C++ users compile programs with Make, we don't include the compiler in the project.\n\n## Copyright\n\nCopyright (c) 2020 Michelle Chen. Licensed under MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourcedoc%2Fcpp-boilerplate-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensourcedoc%2Fcpp-boilerplate-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourcedoc%2Fcpp-boilerplate-library/lists"}