Warning
This project has been discontinued.
This program is specifically designed as a helper to my SimpleGameEngine, which is Windows only, and is not intended to be portable for other projects.
./ResourceGenerator.exe <text_postfix> <image_postfix> <resource1> <resource2> ... <resourceN> <output>
<text_postfix>: The postfix to append to each text resource name, e.g._text.<image_postfix>: The postfix to append to each image resource name, e.g._image.<resource1> <resource2> ... <resourceN>: The files to be read, text files or image files.<output>: The.hppor.cppfile to write the output to, can be a path to a file or just a filename.
Run it once with the desired header file path and once with the desired source file path, keeping all the other arguments the same.
This project is optimized to be built on Windows using MSVC.
- Ensure that you have MSVC installed.
- Ensure that you have CMake installed, you can run
winget install Kitware.CMakeif you don't. - Ensure that you have LLVM installed, you can run
winget install LLVM.LLVMand put the install location in your environment variables if you don't (for language server and clang-format support). - Execute
script/build.shfollowed byscript/run.sh.
All dependencies are vendored and stored in the external directory. Version information for dependencies can be found
in external/version_info.txt.
- Download stb_image.h as a raw file.
- Put the file in
external/stb/include/stb.