1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:57:45 +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

@ -15,5 +15,5 @@ set(SOURCES
TabGML.h
)
serenity_bin(Browser)
serenity_app(Browser ICON app-browser)
target_link_libraries(Browser LibWeb LibProtocol LibGUI LibDesktop)

View file

@ -5,5 +5,5 @@ set(SOURCES
Keypad.cpp
)
serenity_bin(Calculator)
serenity_app(Calculator ICON app-calculator)
target_link_libraries(Calculator LibGUI)

View file

@ -3,5 +3,5 @@ set(SOURCES
main.cpp
)
serenity_bin(Calendar)
serenity_app(Calendar ICON app-calendar)
target_link_libraries(Calendar LibGUI)

View file

@ -4,5 +4,5 @@ set(SOURCES
MonitorWidget.cpp
)
serenity_bin(DisplaySettings)
serenity_app(DisplaySettings ICON app-display-settings)
target_link_libraries(DisplaySettings LibGUI)

View file

@ -9,5 +9,5 @@ set(SOURCES
PropertiesDialog.cpp
)
serenity_bin(FileManager)
serenity_app(FileManager ICON filetype-folder)
target_link_libraries(FileManager LibGUI LibDesktop)

View file

@ -7,5 +7,5 @@ set(SOURCES
main.cpp
)
serenity_bin(FontEditor)
serenity_app(FontEditor ICON app-font-editor)
target_link_libraries(FontEditor LibGUI LibGfx)

View file

@ -6,5 +6,5 @@ set(SOURCES
ManualSectionNode.cpp
)
serenity_bin(Help)
serenity_app(Help ICON app-help)
target_link_libraries(Help LibWeb LibMarkdown LibGUI LibDesktop)

View file

@ -4,5 +4,5 @@ set(SOURCES
main.cpp
)
serenity_bin(HexEditor)
serenity_app(HexEditor ICON app-hexeditor)
target_link_libraries(HexEditor LibGUI)

View file

@ -10,5 +10,5 @@ set(SOURCES
main.cpp
)
serenity_bin(IRCClient)
serenity_app(IRCClient ICON app-irc-client)
target_link_libraries(IRCClient LibWeb LibGUI)

View file

@ -2,5 +2,5 @@ set(SOURCES
main.cpp
)
serenity_bin(KeyboardSettings)
serenity_app(KeyboardSettings ICON app-keyboard-settings)
target_link_libraries(KeyboardSettings LibGUI LibKeyboard)

View file

@ -10,5 +10,5 @@ set(SOURCES
WaveWidget.cpp
)
serenity_bin(Piano)
serenity_app(Piano ICON app-piano)
target_link_libraries(Piano LibAudio LibGUI)

View file

@ -23,5 +23,5 @@ set(SOURCES
Tool.cpp
)
serenity_bin(PixelPaint)
serenity_app(PixelPaint ICON app-pixel-paint)
target_link_libraries(PixelPaint LibGUI LibGfx)

View file

@ -3,5 +3,5 @@ set(SOURCES
QSWidget.cpp
)
serenity_bin(QuickShow)
serenity_app(QuickShow ICON filetype-image)
target_link_libraries(QuickShow LibGUI LibGfx)

View file

@ -5,5 +5,5 @@ set(SOURCES
SoundPlayerWidget.cpp
)
serenity_bin(SoundPlayer)
serenity_app(SoundPlayer ICON app-sound-player)
target_link_libraries(SoundPlayer LibAudio LibGUI)

View file

@ -24,5 +24,5 @@ set(SOURCES
main.cpp
)
serenity_bin(Spreadsheet)
serenity_app(Spreadsheet ICON app-spreadsheet)
target_link_libraries(Spreadsheet LibGUI LibJS LibWeb)

View file

@ -12,5 +12,5 @@ set(SOURCES
ThreadStackWidget.cpp
)
serenity_bin(SystemMonitor)
serenity_app(SystemMonitor ICON app-system-monitor)
target_link_libraries(SystemMonitor LibGUI LibPCIDB)

View file

@ -2,5 +2,5 @@ set(SOURCES
main.cpp
)
serenity_bin(Terminal)
serenity_app(Terminal ICON app-terminal)
target_link_libraries(Terminal LibGUI LibVT)

View file

@ -6,5 +6,5 @@ set(SOURCES
MainWindowGML.h
)
serenity_bin(TextEditor)
serenity_app(TextEditor ICON app-text-editor)
target_link_libraries(TextEditor LibWeb LibMarkdown LibGUI LibShell LibRegex LibDesktop)

View file

@ -3,5 +3,5 @@ set(SOURCES
main.cpp
)
serenity_bin(ThemeEditor)
serenity_app(ThemeEditor ICON app-theme-editor)
target_link_libraries(ThemeEditor LibGUI)