MiniRC
helps you to embed your resources (images, binaries, arhives, etc.) into your C/C++ program's binary output.
MiniRC
generates two files (resources.h and resources.c) with embeded resources and functions to deal with them at runtime.
MiniRC
is developed under macOS, but is set-up to be highly portable.
To build minirc
from source you will need make
, git
and gcc
.
git clone https://github.com/galarius/minirc.git
cd minirc
make && make install
-
minirc -n resources.rc
to generate new resources file -
minirc resources.rc
to generateresources.h
andresources.c
with embeded resources listed in resources.rc -
minirc -h
to get help
See example folder for the example of how to use resources.h and resources.c from client code.
@Ilya Shoshin (Galarius) |
MIT License
Copyright (c) 2017 Shoshin Ilya
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
See the MIT License for more details.