{"id":23441008,"url":"https://github.com/simionrobert/cpp-template-layout","last_synced_at":"2025-08-02T01:36:43.473Z","repository":{"id":78367803,"uuid":"181296906","full_name":"simionrobert/cpp-template-layout","owner":"simionrobert","description":"Template layout for a simple Visual Studio-based C++ project ","archived":false,"fork":false,"pushed_at":"2019-04-28T08:30:45.000Z","size":2644,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T13:17:15.806Z","etag":null,"topics":["architecture","cpp","layout","structure","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"C++","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/simionrobert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-04-14T11:09:38.000Z","updated_at":"2020-06-02T15:44:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbdcafc1-3ff8-41e0-9049-9b5798f7d8bd","html_url":"https://github.com/simionrobert/cpp-template-layout","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/simionrobert%2Fcpp-template-layout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simionrobert%2Fcpp-template-layout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simionrobert%2Fcpp-template-layout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simionrobert%2Fcpp-template-layout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simionrobert","download_url":"https://codeload.github.com/simionrobert/cpp-template-layout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248110948,"owners_count":21049568,"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":["architecture","cpp","layout","structure","visual-studio"],"created_at":"2024-12-23T16:28:58.957Z","updated_at":"2025-04-09T20:44:38.670Z","avatar_url":"https://github.com/simionrobert.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"cpp-template-layout\n===\n\n`cpp-template-layout` is a template for a simple Visual Studio based C++ solution: it can be used as a base for new projects.\n\nIt is designed for Visual Studio Community 2019 for single or multiple projects inside one solution.\n\nProject structure\n-------------\n\nThis project has been set up with a specific file/folder structure in mind. The following describes some important features of this setup:\n\n  - `bin` : Contains the final executabiles (generated)\n  - `build`: Contains intermediate files generated during build time (generated)\n  - `include`: Public projects header files that need to be exposed (generated)\n  - `lib`: External libraries used in the projects\n  - `src`: Solution source files (*.cpp), organised in separate folders for multiple .vxcproj projects or only a `main.cpp` for single projects\n\n\nHow to set up the project\n-------------\n\n0. This github project is just an example. I am going to show you how I made the solution as it is.\n1. Create an empty solution.\n2. Switch to Folder view by clicking Toggle between Solution and Folder views.\n3. Add the folders bin, build, docs, lib, src\n4. Switch to Solution view by clicking Toggle between Solution and Folder views.\n5. Right click the solution and add the first project in the src folder! You can add multiple projects in this step.\n6. Right click the first project and  enter `$(SolutionDir)bin\\$(Configuration)\\` in Properties/General/OutputDirectory.\n7. Right click the first project and  enter `$(SolutionDir)build\\$(ProjectName)\\$(Configuration)\\` in Properties/General/IntermediateDirectory.\n\n\nOptions\n-------------\n\nYou can generate the `.gitignore` file using [gitignore.io](https://www.gitignore.io/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimionrobert%2Fcpp-template-layout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimionrobert%2Fcpp-template-layout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimionrobert%2Fcpp-template-layout/lists"}