Note: Download 2.0.1 for some important fixes.
CMakeRC 2.0.0 features several important changes:
- No more implicit hidden mutable global state. This was very ugly and unnecessary. Unfortunately, this is a breaking change, but for the better.
- Resources are now accessed by calling a function that returns a handle to the resource library's "embedded filesystem" structure.
- You can now iterate and check directories in your embedded resource filesystem. This means you can write your C++ code to automatically adapt to changes in the contents of your resource library without needing to update the C++ code when you add or remove resource files.
- More convenience arguments to the
cmrc_add_resource_library
CMake function. Now comes with aNAMESPACE
andALIAS
argument for setting the C++ namespace and generating an Alias target, respectively.
Check the README.md for more information.