cmrc
brew install cmrc
v2.0.1
MIT
CMake Resource Compiler
17
30-day installs · #7176
52
90-day · #7199
221
365-day · #7100
780
★ GitHub stars · updated 2y ago
Build dependencies
Links
- https://github.com/vector-of-bool/cmrc
- GitHub: vector-of-bool/cmrc
- Brew formula source: Formula/c/cmrc.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"cmake"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "CMake Resource Compiler",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:30+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "cmrc",
"github_default_branch": "master",
"github_last_commit_at": "2024-04-11T11:10:45Z",
"github_readme_excerpt": "# CMakeRC - A Standalone CMake-Based C++ Resource Compiler\n\nCMakeRC is a resource compiler provided in a single CMake script that can easily\nbe included in another project.\n\n## What is a \"Resource Compiler\"?\n\nFor the purpose of this project, a _resource compiler_ is a tool that will\ncompile arbitrary data into a program. The program can then read this data from\nwithout needing to store that data on disk external to the program.\n\nExamples use cases:\n\n- Storing a web page tree for serving over HTTP to clients. Compiling the web\n page into the executable means that the program is all that is required to run\n the HTTP server, without keeping the site files on disk separately.\n- Storing embedded scripts and/or shaders that support the program, rather than\n writing them in the code as string literals.\n- Storing images and graphics for GUIs.\n\nThese things are all about aiding in the ease of portability and distribution of\nthe program, as it is no longer required to ship a plethora of support files\nwith a binary to your users.\n\n## What is Special About CMakeRC?\n\nCMakeRC is implemented as a single CMake module, `CMakeRC.cmake`. No additional\nlibraries or headers are required.\n\nThis project was initially written as a \"literate programming\" experiment. [The process for the pre-2.0 version can be read about here](https://vector-of-bool.github.io/2017/01/21/cmrc.html).\n\n2.0.0+ is slightly different from what was written in the post, but a lot of it\nstill applies.\n\n## Installing\n\nInstalling CMakeRC is designed to be as simple as possible. The only thing\nrequired is the `CMakeRC.cmake` script. You can copy it into your project\ndirectory (recommended) or install it as a package and get all the features you\nneed.\n\nFor [vcpkg](https://github.com/microsoft/vcpkg) users there is a `cmakerc` [port](https://github.com/microsoft/vcpkg/tree/master/ports/cmakerc) that can be installed via `vcpkg install cmakerc` or by adding it to `dependencies` section of your `vcpkg.json` file.\n\n## Usa",
"github_repo": "vector-of-bool/cmrc",
"github_stars": 780,
"github_topics": [],
"homepage": "https://github.com/vector-of-bool/cmrc",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 17,
"installs_365d": 221,
"installs_90d": 52,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "cmrc",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 7176,
"rank_365d": 7100,
"rank_90d": 7199,
"raw_hash": "0698016a0631cffa",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/cmrc.rb",
"tap": "homebrew/core",
"test_dependencies": [
"cmake"
],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "2.0.1",
"versioned_formulae": [],
"why_use_this": null
}