cmake-embed
CMake script for embedding resources in binaries. (by MiSo1289)
cmrc
A Resource Compiler in a Single CMake Script (by vector-of-bool)
cmake-embed | cmrc | |
---|---|---|
1 | 5 | |
90 | 642 | |
- | - | |
2.2 | 1.5 | |
about 1 year ago | about 1 month ago | |
CMake | CMake | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cmake-embed
Posts with mentions or reviews of cmake-embed.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-19.
cmrc
Posts with mentions or reviews of cmrc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-22.
-
How to create a standalone .exe file with no other requirments or libraries to run it.(All required packages contained in .exe file)?
For embedding resources you could use cmrc ( https://github.com/vector-of-bool/cmrc ) in cmake projects. Is probably a bit more convenient than mannually creating char[]s.
-
Resource file management in C++ game project
To make a game I have to use resources like textures, audio files, shaders, fonts, etc. Currently, I pack them into binary with a CMake script (https://github.com/vector-of-bool/cmrc) and call it a day, but I want something better.
-
how to put folders into the exe file
Check out https://github.com/vector-of-bool/cmrc
-
CMake script for embedding resources in binaries
Similar to this, if you don't have newest standard available and what I have used in the past: https://github.com/vector-of-bool/cmrc : A Standalone CMake-Based C++ Resource Compiler
-
Compile-time INI config parsing and accessing with C++20
If you use cmake, CMRC is a great way to embed arbitrary files into your project. I use it all the time to embed compiled shaders and such into an executable.
What are some alternatives?
When comparing cmake-embed and cmrc you can also consider the following projects:
check-type-align - Check the alignment requirement of a type in CMake
ini-config - C++20 single-header library for embedding INI configs
frozen - a header-only, constexpr alternative to gperf for C++14 users
Simple-Asset-Packer - Simple cross-platform asset packer for use with games & standalone applications