{"id":13678057,"url":"https://github.com/DarkWanderer/cmake_template","last_synced_at":"2025-04-29T12:33:00.004Z","repository":{"id":64578529,"uuid":"535314446","full_name":"DarkWanderer/cmake_template","owner":"DarkWanderer","description":"Template for cross-platform VisualStudio-compatible CMake project with GitHub CI","archived":false,"fork":false,"pushed_at":"2023-09-04T18:14:10.000Z","size":47,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-02T13:20:12.303Z","etag":null,"topics":["cmake","cross-platform","debugging","template","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"Python","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/DarkWanderer.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":"2022-09-11T13:56:27.000Z","updated_at":"2024-06-01T12:04:52.000Z","dependencies_parsed_at":"2024-08-02T13:29:13.431Z","dependency_job_id":null,"html_url":"https://github.com/DarkWanderer/cmake_template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarkWanderer%2Fcmake_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarkWanderer%2Fcmake_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarkWanderer%2Fcmake_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarkWanderer%2Fcmake_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DarkWanderer","download_url":"https://codeload.github.com/DarkWanderer/cmake_template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224173468,"owners_count":17268117,"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":["cmake","cross-platform","debugging","template","visual-studio"],"created_at":"2024-08-02T13:00:49.747Z","updated_at":"2024-11-11T20:30:52.682Z","avatar_url":"https://github.com/DarkWanderer.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# cmake_template\n\nThis repository provides a template for a GitHub-based CMake project which supports building \u0026 debugging using Visual Studio on both Windows and Linux\n\n# Quick Start\n\n1. Setup WSL subsystem: https://learn.microsoft.com/en-us/windows/wsl/install\n1. Install required packages on WSL: `sudo apt-get install gcc g++ gdb cmake`\n1. Clone this repository\n1. Open the cloned repository as \"directory\" in Visual Studio (as opposed to \"open solution\")\n1. Open Visual Studio settings, find CMake section, set following option:\n![image](https://github.com/DarkWanderer/cmake_template/assets/2542609/d3661d3b-f666-4b29-911b-d11613343e3a)\n1. Select target machine, configuration and target: ![image](https://github.com/DarkWanderer/cmake_template/assets/2542609/85dc4c62-b955-4ad2-a692-d8b94b9e4eea)\n1. Press \"Debug\" and enjoy seamless debugging of a Linux binary in Visual Studio\n\n# Things to try\n\n* Linux: Launch sanitizers.exe executable with different `sanitize` configurations\n* Linux: Put a breakpoint in helloworld.cpp and run it\n* Windows: Run/debug tests with `x64 sanitize=address` config\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDarkWanderer%2Fcmake_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDarkWanderer%2Fcmake_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDarkWanderer%2Fcmake_template/lists"}