{"id":21951624,"url":"https://github.com/toxe/design-patterns","last_synced_at":"2025-07-11T12:45:04.211Z","repository":{"id":134564460,"uuid":"367316450","full_name":"Toxe/design-patterns","owner":"Toxe","description":"Design Patterns Examples","archived":false,"fork":false,"pushed_at":"2023-01-21T11:11:03.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T18:53:34.582Z","etag":null,"topics":["cpp","cpp20","design-patterns"],"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/Toxe.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,"zenodo":null}},"created_at":"2021-05-14T09:38:01.000Z","updated_at":"2023-02-23T00:58:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1876459-06bd-47b6-8242-ce9972003023","html_url":"https://github.com/Toxe/design-patterns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Toxe/design-patterns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fdesign-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fdesign-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fdesign-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fdesign-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Toxe","download_url":"https://codeload.github.com/Toxe/design-patterns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fdesign-patterns/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264811857,"owners_count":23667827,"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":["cpp","cpp20","design-patterns"],"created_at":"2024-11-29T06:15:15.472Z","updated_at":"2025-07-11T12:45:04.207Z","avatar_url":"https://github.com/Toxe.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Design Patterns Examples\n\n## Build\n\nDefault build instructions for CMake and Vcpkg.\n\nPass your Vcpkg toolchain file via `CMAKE_TOOLCHAIN_FILE`, for example on Windows:  \n`-DCMAKE_TOOLCHAIN_FILE=%HOMEPATH%\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake`\n\nOr on Unix systems:  \n`-DCMAKE_TOOLCHAIN_FILE=$HOME/vcpkg/scripts/buildsystems/vcpkg.cmake`\n\n### Linux + Mac\n\n```\n$ mkdir build\n$ cd build\n$ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$HOME/vcpkg/scripts/buildsystems/vcpkg.cmake ..\n$ ninja\n```\n\n### Windows\n\nPass your Vcpkg toolchain file via `CMAKE_TOOLCHAIN_FILE`, for example: `-DCMAKE_TOOLCHAIN_FILE=%HOMEPATH%\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake`.\n\n```\n$ mkdir build\n$ cd build\n$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=%HOMEPATH%\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows ..\n$ cmake --build . --config Release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoxe%2Fdesign-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoxe%2Fdesign-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoxe%2Fdesign-patterns/lists"}