vulkan-renderer
vulkan-renderer copied to clipboard
[cmake] Add windows resource file for application icon and metadata
Closes https://github.com/inexorgame/vulkan-renderer/issues/382 Closes https://github.com/inexorgame/vulkan-renderer/issues/420
- [x] Rework this pull request after https://github.com/inexorgame/vulkan-renderer/pull/329 is merged.

TODO
- [x] Switch language to English
- [x] Do we really need
resource.hpp? - [x] Add Git SHA to application's metadata
- [x] Ignore resource file in CMake on Linux to fix build
- [x] Ask @IceflowRE for help
Alright I'm ready for review :+1:
I will include the following fix in meta.hpp.in
#ifndef NDEBUG
constexpr const char *BUILD_TYPE = "Debug";
#else
constexpr const char *BUILD_TYPE = "Release";
#endif
This will also fix https://github.com/inexorgame/vulkan-renderer/issues/420
Will review the rest later.
I rebased onto master.
There's a problem with this code. The binary does not contain all the information I want to be in there:

There's a problem with this code. The binary does not contain all the information I want to be in there:
Will take a look today.