{"id":51522501,"url":"https://github.com/lszl84/wx_cmake_template","last_synced_at":"2026-07-08T17:01:41.284Z","repository":{"id":163402418,"uuid":"299909031","full_name":"lszl84/wx_cmake_template","owner":"lszl84","description":"A template for multiplatform WxWidgets projects using CMake","archived":false,"fork":false,"pushed_at":"2026-03-25T14:25:50.000Z","size":31,"stargazers_count":161,"open_issues_count":6,"forks_count":54,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-03-26T17:10:52.052Z","etag":null,"topics":["cmake","cpp","wxwidgets"],"latest_commit_sha":null,"homepage":"https://devmindscape.com","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/lszl84.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-30T12:18:31.000Z","updated_at":"2026-03-25T14:28:04.000Z","dependencies_parsed_at":"2024-01-16T17:29:03.493Z","dependency_job_id":"9e0329c2-5ccd-4760-86c7-61ee139b9bd9","html_url":"https://github.com/lszl84/wx_cmake_template","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lszl84/wx_cmake_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lszl84%2Fwx_cmake_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lszl84%2Fwx_cmake_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lszl84%2Fwx_cmake_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lszl84%2Fwx_cmake_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lszl84","download_url":"https://codeload.github.com/lszl84/wx_cmake_template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lszl84%2Fwx_cmake_template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35271852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-08T02:00:06.796Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["cmake","cpp","wxwidgets"],"created_at":"2026-07-08T17:01:40.508Z","updated_at":"2026-07-08T17:01:41.280Z","avatar_url":"https://github.com/lszl84.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚨 STOP! 🚨\n\nYou might want to try much simpler version of this setup, with `FetchContent`: https://github.com/lszl84/wx_cmake_fetchcontent_template\n\nTutorial here: https://www.youtube.com/watch?v=zjNg5HdgNO0\n\nOr use the more complex approach described below.\n\n# wx_cmake_template\n\nA template for multiplatform wxWidgets projects using CMake\n\n## How this works\n\nThis template searches for the wxWidgets library using `FindPackage`. If not found, it downloads the library source from GitHub, compiles it, and links it with the main project. \n\nThe super build pattern with `ExternalProject_Add` is used to achieve this.\n\n## Requirements\n\nThis works on Windows, Mac, and Linux. You'll need `cmake` and a C++ compiler (tested on `clang`, `gcc`, and MSVC).\n\nLinux builds require the GTK3 library and headers installed in the system.\n\n## Building\n\nTo build the project, use:\n\n```bash\ncmake -S. -Bbuild\ncmake --build build\n```\n\nThis will create a directory named `build` and create all build artifacts there. The main executable can be found in the `build/subprojects/Build/wx_cmake_template_core` folder.\n\n## Using as a Template (Linux/Mac)\n\nUse the provided `copy_to_project.sh` script to create another project from the template.\n\n```bash\n./copy_to_project.sh directory project_name\n```\n\nThis will create a copy of the template's directory structure in `directory`, renaming `wx_cmake_template` to the provided `project_name`.\n\n## Notes\n\nFor details, see the [blog post](https://devmindscape.com/post/wxwidgets-cmake/) and the [video](https://www.youtube.com/watch?v=MfuBS9n5_aY) tutorial showcasing the installation on Linux, Windows, and Mac OS X. \n\n---\nCheck out the blog for more! [devmindscape.com](https://devmindscape.com)\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flszl84%2Fwx_cmake_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flszl84%2Fwx_cmake_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flszl84%2Fwx_cmake_template/lists"}