{"id":13898297,"url":"https://github.com/LucHermitte/lh-cmake","last_synced_at":"2025-07-17T15:33:01.025Z","repository":{"id":16783590,"uuid":"19541941","full_name":"LucHermitte/lh-cmake","owner":"LucHermitte","description":"CMake plugin for vim","archived":false,"fork":false,"pushed_at":"2020-10-27T17:02:07.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-07T18:45:52.056Z","etag":null,"topics":["cmake","vim","vim-plugins","viml-functions","viml-library"],"latest_commit_sha":null,"homepage":null,"language":"VimL","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/LucHermitte.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}},"created_at":"2014-05-07T16:32:56.000Z","updated_at":"2021-12-01T10:38:31.000Z","dependencies_parsed_at":"2022-08-04T11:00:33.993Z","dependency_job_id":null,"html_url":"https://github.com/LucHermitte/lh-cmake","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucHermitte%2Flh-cmake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucHermitte%2Flh-cmake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucHermitte%2Flh-cmake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucHermitte%2Flh-cmake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucHermitte","download_url":"https://codeload.github.com/LucHermitte/lh-cmake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226274768,"owners_count":17598860,"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","vim","vim-plugins","viml-functions","viml-library"],"created_at":"2024-08-06T18:04:13.066Z","updated_at":"2024-11-25T04:31:09.781Z","avatar_url":"https://github.com/LucHermitte.png","language":"VimL","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"lh-cmake : A CMake plugin for vim\n========\n\nThis plugin provides a few utilities for working on [CMake](http://www.cmake.org) projects from\n[vim](http://www.vim.org).\n\n## Features\n### Obtain current project configuration as it's known by CMake\n\nThis plugin can analyze the current `CMakeCache.txt` (see\n[`lh#btw#compilation_dir()`](#configuration)) and report miscellaneous\ninformation:\n\n* Where the `CMakeCache.txt` file is thanks to `lh#cmake#_where_is_cache()`\n* The dictionary (`:h Dict`) of variables matching a REGEX pattern with\n  `lh#cmake#get_variables(*pattern*)`\n* The list of project specific includes (it lists the content of all CMake\n  `XXX_INCLUDE` variables)\n\nIt also provides a `:CMake` command that takes different parameters:\n\n* `:CMake where-is-cache` displays the location of the current `CMakeCache.txt` ;\n* `:CMake open-cache` opens the current `CMakeCache.txt` ;\n* `:CMake show pattern` displays the cached CMake variables that have a name\n  that matches the REGEX pattern\n\n### CMake dictionary\n\nlh-cmake provides (an extremly incomplete) dictionary of CMake keywords,\nvariables, ... that can be used to help Vim complete in CMake files.\n\n## Installation\n\nThis plugin will best installed with\n[Vim-Addon-Manager](https://github.com/MarcWeber/vim-addon-manager) as it will\nalso install\ndependencies ([lh-vim-lib](http://code.google.com/p/lh-vim/wiki/lhVimLib)).\n\nBy the mean time, you can clone this repositoriy and lh-vim-lib and install\nthem manually or with your prefered plugin manager.\n\n\n## Configuration\n\nThis plugin needs the variable `(bpg):BTW.compilation_dir` to be set to the\ndirectory where `ccmake` has been executed. Having this variable set and\nup-to-date can be automated thanks to\n[BuildToolsWrapper](http://code.google.com/p/lh-vim/wiki/BTW) and\n[local_vimrc](http://code.google.com/p/lh-vim/source/browse/misc/trunk/plugin/local_vimrc.vim).\nMore on the subject latter.\n\n[![Project Stats](https://www.openhub.net/p/21020/widgets/project_thin_badge.gif)](https://www.openhub.net/p/21020)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLucHermitte%2Flh-cmake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLucHermitte%2Flh-cmake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLucHermitte%2Flh-cmake/lists"}