{"id":19848735,"url":"https://github.com/etcwilde/cmakehelpers","last_synced_at":"2026-05-06T16:34:57.368Z","repository":{"id":80177779,"uuid":"155934828","full_name":"etcwilde/CMakeHelpers","owner":"etcwilde","description":"Some utilities to help working with CMake","archived":false,"fork":false,"pushed_at":"2018-11-05T01:30:21.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-28T04:34:50.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/etcwilde.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":"2018-11-03T00:20:12.000Z","updated_at":"2019-01-26T16:20:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1b79361-5afc-43c2-8cdd-61f07a4f9c33","html_url":"https://github.com/etcwilde/CMakeHelpers","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/etcwilde/CMakeHelpers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2FCMakeHelpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2FCMakeHelpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2FCMakeHelpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2FCMakeHelpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etcwilde","download_url":"https://codeload.github.com/etcwilde/CMakeHelpers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2FCMakeHelpers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32702166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-11-12T13:18:12.826Z","updated_at":"2026-05-06T16:34:57.350Z","avatar_url":"https://github.com/etcwilde.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CMakeHelpers 0.2\n\nThere are many times that I want to either move a configured cmake\nproject, or clone one. CMake expands the relative paths to be in\nrelation to the build directory, so simple `mv` will cause the\nCMakeCache to need re-building, losing the desired configuration.\n\nMy goal in the project is to build a small suite of helper tools that\ncan assist with copying, moving, and doing simple operations with cmake\nbuild directories.\n\n# Usage\n\nAfter moving or copying, run `cmake .` in the new build directory to\nhave CMake fix the rest of the build system (either the makefile or the\nninja.rules).\n\n## cmake-mv\n\nCMake move moves the build directory of a cmake project and fixes the\npaths to point to the new build directory location.\n\n```sh\nusage: cmake-mv [-h] SOURCE DESTINATION\n```\n\n## cmake-cp\n\nCMake copy makes a copy of the build directory pointed at by SOURCE into\na new build directory, DESTINATION, fixing the build directory location\nin the CMakeCache file to point to the new build directory.\n\n```sh\nusage: cmake-cp [-h] SOURCE DESTINATION\n```\n\n\n# Installation\n\nThis is written with the same design as the BusyBox project. All of the\nparts are in one program, then that program uses the name of the calling\nscript to determine what it should actually do.\n\nRight now the program knows how to operate under two names\n- cmake-cp\n- cmake-mv\n\nThe actual program is under the name \"cmake-helpers\".\nIf you just try to run cmake-helpers directly, it will give an error\nmessage saying that it doesn't know how to run under that name.\n\nTo install the program, move the `cmake-helpers` to some directory (I\nusually keep this in `/usr/local/src`), then create symbolic links from\na directory that is in your path. (I usually keep it in\n`/usr/local/bin`).\n\nAssuming you've cloned the CMakeHelpers repository into\n`/usr/local/src`, this is how you can \"install\" the helpers.\n\n```sh\ncd /usr/local/bin\nln -s /usr/local/src/CMakeHelpers/cmake-helpers cmake-cp\nln -s /usr/local/src/CMakeHelpers/cmake-helpers cmake-mv\n```\n\n\n# Requirements\n\nThis program is written for python 3.x.\nI've written it with python 3.7.1, but I don't think I used any features\nthat require python 3.6 or above.\n\n# Author(s)\n\n- Evan Wilde \u003cetceterawilde@gmail.com\u003e\n\n# License\n\nThese tools are under the BSD-3 license, which are consistent with\nCMake. If you can use CMake, you probably can use these tools.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetcwilde%2Fcmakehelpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetcwilde%2Fcmakehelpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetcwilde%2Fcmakehelpers/lists"}