-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cmake] Add windows resource file for application icon and metadata #384
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general theres no need to configure the .rc file, as you just can include our meta.hpp
with all the data and use it there.
7090fac
to
5985343
Compare
Alright I'm ready for review 👍 |
I will include the following fix in #ifndef NDEBUG
constexpr const char *BUILD_TYPE = "Debug";
#else
constexpr const char *BUILD_TYPE = "Release";
#endif This will also fix #420 |
Will review the rest later. |
8fb8acf
to
ffd6495
Compare
I rebased onto master. |
ffd6495
to
0458ae4
Compare
if(MSVC) | ||
add_executable(inexor-vulkan-renderer-example | ||
main.cpp | ||
${CMAKE_BINARY_DIR}/include/inexor/vulkan-renderer/win_resource_file.rc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Source files shouldn't be in the include folder.
Closes #382
Closes #420
TODO
resource.hpp
?