{"id":29668448,"url":"https://github.com/chasenut/cmake-template","last_synced_at":"2026-05-19T04:12:17.653Z","repository":{"id":242372143,"uuid":"809384152","full_name":"chasenut/CMake-Template","owner":"chasenut","description":"My custom simple CMake Template. I'm lazy, so this template is for me (and others if they want) to download.","archived":false,"fork":false,"pushed_at":"2025-05-20T21:55:45.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T23:28:17.484Z","etag":null,"topics":["c","cmake","cpp","template"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chasenut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-06-02T14:41:32.000Z","updated_at":"2025-06-01T21:02:34.000Z","dependencies_parsed_at":"2025-05-20T23:07:27.926Z","dependency_job_id":null,"html_url":"https://github.com/chasenut/CMake-Template","commit_stats":null,"previous_names":["cashtann/cmake-template","chasenut/cmake-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chasenut/CMake-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasenut%2FCMake-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasenut%2FCMake-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasenut%2FCMake-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasenut%2FCMake-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chasenut","download_url":"https://codeload.github.com/chasenut/CMake-Template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasenut%2FCMake-Template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266541513,"owners_count":23945434,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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","cmake","cpp","template"],"created_at":"2025-07-22T17:38:57.784Z","updated_at":"2026-05-19T04:12:12.615Z","avatar_url":"https://github.com/chasenut.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CMake Project Template (Basic)\n\n### Golden quote - \"It works on my machine\"\n\nMy custom simple CMake Template (rather for Linux because of .sh scripts). DRY, so this template is for me (and others if they want) to use.\nThis template is fairly simple and very basic, as I mentioned I use it when I want to make fast and easly a new project.\nI use `CMake` and `Make` to generate and build project.\nClone this repo:\n```\ngh repo clone Cashtann/CMake-Template\n```\n\n**Make scripts executable if you want**\n```\nchmod +x setupCMake.sh compile.sh run.sh\n```\n\n\n### Scripts:\n**Setup CMake**\n\nThis creates CMake files in `build` directory.\n ```\n ./setupCmake.sh\n```\nThis script is just bash `cmake -B build` (if you want to make it on Windows, you may need to use `cmake -B build -G \"MinGW Makefiles\"`).\n\n**Build project**\n\nCompiles project. Output files (executable and libs) should be inside `./bin` folder.\n ```\n ./compile.sh\n```\n\n**Run project**\n\nCompiles project and runs the executable file. \nFile location may differ depending on Build mode *(Debug/Release)* -\u003e set in the CMakeLists.txt file.\n ```\n ./run.sh\n```\nThis script is the same as `compile.sh` but also has `cd bin/Linux/Debug \u0026\u0026 ./run \u0026\u0026 cd ..`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchasenut%2Fcmake-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchasenut%2Fcmake-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchasenut%2Fcmake-template/lists"}