{"id":13679154,"url":"https://github.com/eliasdaler/imgui-sfml-fetchcontent","last_synced_at":"2026-04-20T22:12:24.508Z","repository":{"id":42674025,"uuid":"185412833","full_name":"eliasdaler/imgui-sfml-fetchcontent","owner":"eliasdaler","description":"Example of using CMake's FetchContent module and imGui-SFML","archived":false,"fork":false,"pushed_at":"2024-03-25T15:10:58.000Z","size":12,"stargazers_count":31,"open_issues_count":1,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-21T15:59:51.583Z","etag":null,"topics":["cmake","cpp","fetchcontent","gamedev","imgui","imgui-sfml","modern-cmake","sfml"],"latest_commit_sha":null,"homepage":null,"language":"CMake","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/eliasdaler.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":"2019-05-07T13:56:48.000Z","updated_at":"2025-02-20T19:29:57.000Z","dependencies_parsed_at":"2024-01-14T15:21:41.594Z","dependency_job_id":"ae8b1542-f768-40cf-9d6b-a4ae52d91a22","html_url":"https://github.com/eliasdaler/imgui-sfml-fetchcontent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliasdaler%2Fimgui-sfml-fetchcontent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliasdaler%2Fimgui-sfml-fetchcontent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliasdaler%2Fimgui-sfml-fetchcontent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliasdaler%2Fimgui-sfml-fetchcontent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eliasdaler","download_url":"https://codeload.github.com/eliasdaler/imgui-sfml-fetchcontent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251540136,"owners_count":21605848,"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","cpp","fetchcontent","gamedev","imgui","imgui-sfml","modern-cmake","sfml"],"created_at":"2024-08-02T13:01:02.530Z","updated_at":"2026-04-20T22:12:19.473Z","avatar_url":"https://github.com/eliasdaler.png","language":"CMake","funding_links":[],"categories":["CMake"],"sub_categories":[],"readme":"(WIP) CMake FetchContent example\n==========================\n\nThis is WIP example of using CMake FetchContent in real world scenario. It\ndownloads ImGui, SFML and ImGui-SFML and then a simple application uses these\ndependencies for building.\n\nThis example is interesting, because ImGui-SFML depends on both ImGui and SFML,\nso you can also see how fetched dependencies can work with each other is well.\n\nBuilding is simple, just do:\n\n```sh\nmkdir build\ncd build\ncmake \u003cpath-to-cloned-repo\u003e\ncmake --build .\n./src/imgui-sfml-example # or .\\src\\Debug\\imgui-sfml-example.exe if you're on Windows\n```\n\nOptions\n-------\n\nYou can also set the following options when building:\n\n* `USE_SYSTEM_DEPS` (`OFF` by default) - search for SFML installed on system instead of fetching it\n* `LINK_DEPS_STATIC` (`ON` by default) - link dependencies statically\n\nDepencies\n---\n\nCMake \u003e= 3.12\n\nAlso, if you're on Linux, you'll need to install dependencies for building SFML\nspecified\n[here](https://www.sfml-dev.org/tutorials/2.5/compile-with-cmake.php#installing-dependencies).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliasdaler%2Fimgui-sfml-fetchcontent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliasdaler%2Fimgui-sfml-fetchcontent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliasdaler%2Fimgui-sfml-fetchcontent/lists"}