{"id":22473439,"url":"https://github.com/lecrisut/cmakeextrautils","last_synced_at":"2026-01-06T14:54:13.093Z","repository":{"id":149388057,"uuid":"614767609","full_name":"LecrisUT/CMakeExtraUtils","owner":"LecrisUT","description":"Helpful CMake modules for project management and export","archived":false,"fork":false,"pushed_at":"2024-07-24T12:33:43.000Z","size":181,"stargazers_count":7,"open_issues_count":12,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T20:14:49.815Z","etag":null,"topics":["cmake"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LecrisUT.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":"2023-03-16T09:26:41.000Z","updated_at":"2024-10-24T12:20:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"98391543-6ed3-4781-9785-307b8a963708","html_url":"https://github.com/LecrisUT/CMakeExtraUtils","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LecrisUT%2FCMakeExtraUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LecrisUT%2FCMakeExtraUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LecrisUT%2FCMakeExtraUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LecrisUT%2FCMakeExtraUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LecrisUT","download_url":"https://codeload.github.com/LecrisUT/CMakeExtraUtils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245882167,"owners_count":20687838,"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"],"created_at":"2024-12-06T12:28:45.040Z","updated_at":"2026-01-06T14:54:13.046Z","avatar_url":"https://github.com/LecrisUT.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CMakeExtraUtils\n\nExtra utilities for cmake:\n\n- [`DynamicVersion`](cmake/DynamicVersion.md)\n- [`PackageComps`](cmake/PackageComps.md)\n\n## Installation\n\nThese utilities can be included using both `find_package()` and `ExternalProject`, e.g. if `CMakeExtraUtils` is already\ninstalled on your system:\n\n```cmake\ncmake_minimum_required(VERSION 3.20)\n\nfind_package(CMakeExtraUtils REQUIRED)\n\ninclude(DynamicVersion)\ndynamic_version()\n\nproject(MyProject\n        VERSION ${PROJECT_VERSION})\n```\n\nor if you want to download a specific version:\n\n```cmake\ncmake_minimum_required(VERSION 3.20)\n\nFetchContet_Declare(CMakeExtraUtils\n        GIT_REPOSITORY https://github.com/LecriUT/CMakeExtraUtils\n        GIT_TAG v0.1.1)\nFetchContent_MakeAvailable(CMakeExtraUtils)\n\ninclude(DynamicVersion)\ndynamic_version()\n\nproject(MyProject\n        VERSION ${PROJECT_VERSION})\n```\n\n## TODO for v1.0\n\n- [x] Automation:\n- [x] Add simple pre-commit and `pyproject.toml` environment\n- [x] Fix `DynamicVersion` to work with buildable projects\n- [ ] Test coverage:\n  - [x] `DynamicVersion`\n  - [ ] `PackageComps`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flecrisut%2Fcmakeextrautils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flecrisut%2Fcmakeextrautils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flecrisut%2Fcmakeextrautils/lists"}