{"id":16603393,"url":"https://github.com/dbrgn/cmake-demo-project","last_synced_at":"2026-03-07T08:32:24.216Z","repository":{"id":66129978,"uuid":"305484654","full_name":"dbrgn/cmake-demo-project","owner":"dbrgn","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-25T22:32:29.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-11T12:59:47.282Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbrgn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-10-19T18:55:44.000Z","updated_at":"2020-10-25T22:32:31.000Z","dependencies_parsed_at":"2023-03-09T19:30:39.630Z","dependency_job_id":null,"html_url":"https://github.com/dbrgn/cmake-demo-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dbrgn/cmake-demo-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Fcmake-demo-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Fcmake-demo-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Fcmake-demo-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Fcmake-demo-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbrgn","download_url":"https://codeload.github.com/dbrgn/cmake-demo-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Fcmake-demo-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30209937,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-12T00:49:57.229Z","updated_at":"2026-03-07T08:32:24.192Z","avatar_url":"https://github.com/dbrgn.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cmake demo lib\n\n![CMake Build Matrix](https://github.com/dbrgn/cmake-demo-project/workflows/CMake%20Build%20Matrix/badge.svg)\n\nThis is a demo project that uses qt + cmake. Its intention is to be used as a\nplayground for a potential LibrePCB build system migration.\n\n\n## Structure\n\nThe most important file is `CMakeLists.txt`.\n\nIn order for `find_package(cmark)` to work, there's a find-file at\n`cmake/Findcmark.cmake`.\n\nSubmodules are located in the `3rdparty` directory.\n\n\n## Building\n\nTo build the project, either:\n\n    # Configure\n    mkdir build\n    cd build\n    cmake ..\n\n    # Build\n    make\n\n...or:\n\n    # Configure\n    cmake -S . -B build\n\n    # Build\n    cmake --build build\n\n\n## Linking\n\nFor third party libraries, linking should happen as follows:\n\n- If the submodule is found, then that version is used and the library is\n  linked statically, unless `UNBUNDLE_\u003clib\u003e` or `UNBUNDLE_ALL` is set\n- Otherwise, try to find the library as a shared library on the system, link\n  against that one\n\nThis means that to unbundle a vendored library, you simply delete the\ndirectory, or alternatively set `UNBUNDLE_\u003clib\u003e` or `UNBUNDLE_ALL`.\n\n\n## Resources\n\nThis was the most useful \"modern cmake\" resource I found so far:\n\nhttps://cliutils.gitlab.io/modern-cmake/\n\nThe `Findcmark.cmake` module was based on this one I found on GitHub:\n\nhttps://github.com/mujx/nheko/blob/master/cmake/Findcmark.cmake\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbrgn%2Fcmake-demo-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbrgn%2Fcmake-demo-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbrgn%2Fcmake-demo-project/lists"}