diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-01-01 15:44:39 -0800 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-02 01:37:40 +0100 |
commit | 8161c99da27526a2971b4356c015c82d17dce4c3 (patch) | |
tree | f87fc675ddf3dbabede20bc4b18ddba57527d25d /Meta | |
parent | 2927656d85f6b8c564e74f8ae460212e4fdde57c (diff) | |
download | serenity-8161c99da27526a2971b4356c015c82d17dce4c3.zip |
CMake: Warn when a serenity app is missing small or medium icons
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/CMake/utils.cmake | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Meta/CMake/utils.cmake b/Meta/CMake/utils.cmake index a21426e494..4145aef4eb 100644 --- a/Meta/CMake/utils.cmake +++ b/Meta/CMake/utils.cmake @@ -79,12 +79,15 @@ function(serenity_app target_name) if (EXISTS "${small_icon}") embed_resource("${target_name}" serenity_icon_s "${small_icon}") + else() + message(WARNING "Missing small app icon: ${small_icon}") endif() + if (EXISTS "${medium_icon}") embed_resource("${target_name}" serenity_icon_m "${medium_icon}") + else() + message(WARNING "Missing medium app icon: ${medium_icon}") endif() - - # TODO: Issue warnings if the app icons don't exist endfunction() function(compile_gml source output string_name) |