cmrc
ini-config
Our great sponsors
cmrc | ini-config | |
---|---|---|
5 | 1 | |
641 | 59 | |
- | - | |
1.5 | 0.0 | |
16 days ago | about 1 year ago | |
CMake | C++ | |
MIT License | The Unlicense |
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.
cmrc
-
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.
ini-config
What are some alternatives?
frozen - a header-only, constexpr alternative to gperf for C++14 users
check-type-align - Check the alignment requirement of a type in CMake
Osiris - Free and open-source game hack for Counter-Strike 2, written in modern C++. For Windows and Linux.
cmake-embed - CMake script for embedding resources in binaries.
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl
Simple-Asset-Packer - Simple cross-platform asset packer for use with games & standalone applications
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
modern-cpp-tutorial - 📚 Modern C++ Tutorial: C++11/14/17/20 On the Fly | https://changkun.de/modern-cpp/