franko /
lhelper
A simple utility to helps compile and install C/C++ libraries on Windows and Linux
30/100 healthLoading repository data…
Johnnyborov / repository
A simple CMake C++ library/tool to compile resource files into executable
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
ResourceManager is a light cross-platform C++ CMake library to embed resources into executables or libraries. Light and cross-platform here means that it only depends on C++ standard library and CMake and doesn't use anything system specific. Any type of resource files is possible for embedding (text files or binary files like images or any other data).
It's based on compiling binary representation of resource files into C++ global byte array and provides easy and convenient means to access this array from C++ code.
add_subdirectory("path to ResourceManager")
include_directories(${RESOURCE_MANAGER_INCLUDE_DIRS})
rm_embed_resources(RESOURCES "res.txt" "src/main.cpp" "images/myimage.png")
add_executable(MyProject src/main.cpp ${RESOURCES})
#include "ResourceManager/ResourceHandle.h"
ResourceHandle resource_handle("res.txt");
std::cout << "res.txt contents: " << resource_handle.c_str() << '\n';
std::cout << "res.txt length: " << resource_handle.length() << '\n';
ResourceHandle code_of_main_cpp("src/main.cpp");
std::cout << "source code of main.cpp:\n" << code_of_main_cpp.string() << '\n';
ResourceHandle my_image("images/myimage.png");
doSomethingWithBinaryDataOfMyImage(my_image.data(), my_image.size());
In the test forlder of this repository there is a simple cmake project which you can use as an example: CMakeLists.txt test_main.cpp
More information about ResourceHandle class usage is avaliable in its header ResourceHandle.h
Johnny Borov JohnnyBorov@gmail.com
MIT License. See LICENSE file.
Selected from shared topics, language and repository description—not editorial ratings.
franko /
A simple utility to helps compile and install C/C++ libraries on Windows and Linux
30/100 healthdangmoody /
A simple and powerful C++ build tool that turns C++ code into compiler arguments
65/100 healthSARATH062005 /
One-Click Compiler is a user-friendly application designed to eliminate the complexities of compiling and running C++ OpenCV projects on Windows. It wraps the entire Visual Studio build process—from setting up the environment with the x64 Native Tools Command Prompt to running CMake and NMake—into a simple, intuitive graphical interface.
Gallardo994 /
This is a project that demonstrates how to create and compile a simple C++ library using CMake with Conan for dependency management, suitable for production use in Unity.
46/100 healthPlayjasb2 /
A compiler to compile a simplified version of C
20/100 healthwsberry /
This project implements a simple C++ project using CMake that may be compiled from your host environment or from a Docker container that hosts the latest Alpine Linux OS with Clang 14.0 installed.
38/100 health