1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +00:00

Build: Embed application icons directly in the executables.

New serenity_app() targets can be defined which allows application
icons to be emedded directly into the executable. The embedded
icons will then be used when creating an icon for that file in
LibGUI.
This commit is contained in:
William Marlow 2020-12-20 18:26:09 +00:00 committed by Andreas Kling
parent d16eabed06
commit 39364bdda4
39 changed files with 94 additions and 37 deletions

View file

@ -2,5 +2,5 @@ set(SOURCES
Cube.cpp
)
serenity_bin(Cube)
serenity_app(Cube ICON app-cube)
target_link_libraries(Cube LibGUI)

View file

@ -3,5 +3,5 @@ set(SOURCES
EyesWidget.cpp
)
serenity_bin(Eyes)
serenity_app(Eyes ICON app-eyes)
target_link_libraries(Eyes LibGUI LibGfx)

View file

@ -2,5 +2,5 @@ set(SOURCES
Fire.cpp
)
serenity_bin(Fire)
serenity_app(Fire ICON app-fire)
target_link_libraries(Fire LibGUI LibCore LibGfx)

View file

@ -2,5 +2,5 @@ set(SOURCES
main.cpp
)
serenity_bin(HelloWorld)
serenity_app(HelloWorld ICON app-hello-world)
target_link_libraries(HelloWorld LibGUI)

View file

@ -2,5 +2,5 @@ set(SOURCES
main.cpp
)
serenity_bin(LibGfxDemo)
serenity_app(LibGfxDemo ICON app-libgfx-demo)
target_link_libraries(LibGfxDemo LibGUI LibIPC LibGfx LibCore)

View file

@ -2,5 +2,5 @@ set(SOURCES
main.cpp
)
serenity_bin(Mouse)
serenity_app(Mouse ICON app-mouse)
target_link_libraries(Mouse LibGUI LibGfx)

View file

@ -2,5 +2,5 @@ set(SOURCES
Screensaver.cpp
)
serenity_bin(Screensaver)
serenity_app(Screensaver ICON app-screensaver)
target_link_libraries(Screensaver LibGUI LibCore LibGfx)

View file

@ -2,5 +2,5 @@ set(SOURCES
main.cpp
)
serenity_bin(WidgetGallery)
serenity_app(WidgetGallery ICON app-widget-gallery)
target_link_libraries(WidgetGallery LibGUI)