{"id":20003591,"url":"https://github.com/jungerboyo/minimal-cpp-template-project","last_synced_at":"2025-03-02T00:25:58.182Z","repository":{"id":225886445,"uuid":"767132209","full_name":"JungerBoyo/minimal-cpp-template-project","owner":"JungerBoyo","description":"Cpp cmake template project which is meant to be simple, easy to understand and modify.","archived":false,"fork":false,"pushed_at":"2024-03-04T19:22:19.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T13:26:34.618Z","etag":null,"topics":["ci","cmake","cpp","project-template","simple","suckless"],"latest_commit_sha":null,"homepage":"","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/JungerBoyo.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}},"created_at":"2024-03-04T19:00:20.000Z","updated_at":"2024-07-31T21:42:01.000Z","dependencies_parsed_at":"2024-03-04T20:29:41.398Z","dependency_job_id":"4cd0936d-1b1d-4401-9b15-d983de580110","html_url":"https://github.com/JungerBoyo/minimal-cpp-template-project","commit_stats":null,"previous_names":["jungerboyo/minimal-cpp-template-project"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JungerBoyo%2Fminimal-cpp-template-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JungerBoyo%2Fminimal-cpp-template-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JungerBoyo%2Fminimal-cpp-template-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JungerBoyo%2Fminimal-cpp-template-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JungerBoyo","download_url":"https://codeload.github.com/JungerBoyo/minimal-cpp-template-project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241442848,"owners_count":19963682,"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":["ci","cmake","cpp","project-template","simple","suckless"],"created_at":"2024-11-13T05:26:22.744Z","updated_at":"2025-03-02T00:25:58.162Z","avatar_url":"https://github.com/JungerBoyo.png","language":"CMake","readme":"# minimal-cpp-template-project\n[![ci](https://github.com/JungerBoyo/minimal-cpp-template-project/actions/workflows/ci.yml/badge.svg)](https://github.com/JungerBoyo/minimal-cpp-template-project/actions/workflows/ci.yml)\n\nCpp cmake template project which is meant to be simple namely, easily understandable and modifiable. Works on windows and linux. For linux default is `GCC` compiler for windows default is `Clang` compiler. Project also implements github CI pipeline compiling and cpacking + publishing project for windows and linux. Compile happens on every commit, cpacking and publishing on a release.\n\n## Package manager\n\nTemplate project uses conan as its package manager. Conan profiles are stored in `conanprofile.linux.txt` and `conanprofile.windows.txt`, conan file is `conanfile.py`. To install conan packages and configure it in `build` directory for linux do eg:\n```\n  ./install_packages.sh build linux\n                          ^     ^------ linux/windows\n                          * -- generator\n```\n\n## CMake configuration\nTo configure (after installing conan packages, if there is any conan configuration) run eg:\n```\n  ./configure build Ninja Debug ...other\n                ^    ^      ^------ build type\n                |    * -- generator\n                *--- build directory\n```\nYou can specifies additional variables that should be appended to cmake conf. Specific to project variables are ones enabling sanitizers:\n  *  (-D)SANITIZE_ADDRESS(=ON)\n  *  (-D)SANITIZE_THREAD(=ON)\n  *  (-D)SANITIZE_UNDEFINED_BEHAVIOUR(=ON)\n  *  (-D)SANITIZE_LEAK(=ON)\n  *  (-D)SANITIZE_MEMORY(=ON) (works only for clang)\n\n## Building\nTo build run command: \n```\n  ./build.sh build\n               ^------ build directory\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjungerboyo%2Fminimal-cpp-template-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjungerboyo%2Fminimal-cpp-template-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjungerboyo%2Fminimal-cpp-template-project/lists"}