summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorWilliam Marlow <william.marlow@lux01.co.uk>2020-12-20 18:26:09 +0000
committerAndreas Kling <kling@serenityos.org>2020-12-21 00:12:59 +0100
commit39364bdda43d307af8836743227d278d4bb7525e (patch)
treef596e3cf2879b9b7d000cedeea3da17aab73a73a /Applications
parentd16eabed0679c014dd32827737dc9abbe4b219d0 (diff)
downloadserenity-39364bdda43d307af8836743227d278d4bb7525e.zip
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.
Diffstat (limited to 'Applications')
-rw-r--r--Applications/Browser/CMakeLists.txt2
-rw-r--r--Applications/Calculator/CMakeLists.txt2
-rw-r--r--Applications/Calendar/CMakeLists.txt2
-rw-r--r--Applications/DisplaySettings/CMakeLists.txt2
-rw-r--r--Applications/FileManager/CMakeLists.txt2
-rw-r--r--Applications/FontEditor/CMakeLists.txt2
-rw-r--r--Applications/Help/CMakeLists.txt2
-rw-r--r--Applications/HexEditor/CMakeLists.txt2
-rw-r--r--Applications/IRCClient/CMakeLists.txt2
-rw-r--r--Applications/KeyboardSettings/CMakeLists.txt2
-rw-r--r--Applications/Piano/CMakeLists.txt2
-rw-r--r--Applications/PixelPaint/CMakeLists.txt2
-rw-r--r--Applications/QuickShow/CMakeLists.txt2
-rw-r--r--Applications/SoundPlayer/CMakeLists.txt2
-rw-r--r--Applications/Spreadsheet/CMakeLists.txt2
-rw-r--r--Applications/SystemMonitor/CMakeLists.txt2
-rw-r--r--Applications/Terminal/CMakeLists.txt2
-rw-r--r--Applications/TextEditor/CMakeLists.txt2
-rw-r--r--Applications/ThemeEditor/CMakeLists.txt2
19 files changed, 19 insertions, 19 deletions
diff --git a/Applications/Browser/CMakeLists.txt b/Applications/Browser/CMakeLists.txt
index 8594c00d61..4652ec8b11 100644
--- a/Applications/Browser/CMakeLists.txt
+++ b/Applications/Browser/CMakeLists.txt
@@ -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)
diff --git a/Applications/Calculator/CMakeLists.txt b/Applications/Calculator/CMakeLists.txt
index 548c37b774..8c5c14feaf 100644
--- a/Applications/Calculator/CMakeLists.txt
+++ b/Applications/Calculator/CMakeLists.txt
@@ -5,5 +5,5 @@ set(SOURCES
Keypad.cpp
)
-serenity_bin(Calculator)
+serenity_app(Calculator ICON app-calculator)
target_link_libraries(Calculator LibGUI)
diff --git a/Applications/Calendar/CMakeLists.txt b/Applications/Calendar/CMakeLists.txt
index 77fbce1675..c23a6743cc 100644
--- a/Applications/Calendar/CMakeLists.txt
+++ b/Applications/Calendar/CMakeLists.txt
@@ -3,5 +3,5 @@ set(SOURCES
main.cpp
)
-serenity_bin(Calendar)
+serenity_app(Calendar ICON app-calendar)
target_link_libraries(Calendar LibGUI)
diff --git a/Applications/DisplaySettings/CMakeLists.txt b/Applications/DisplaySettings/CMakeLists.txt
index b5d2162f9d..af736e83a8 100644
--- a/Applications/DisplaySettings/CMakeLists.txt
+++ b/Applications/DisplaySettings/CMakeLists.txt
@@ -4,5 +4,5 @@ set(SOURCES
MonitorWidget.cpp
)
-serenity_bin(DisplaySettings)
+serenity_app(DisplaySettings ICON app-display-settings)
target_link_libraries(DisplaySettings LibGUI)
diff --git a/Applications/FileManager/CMakeLists.txt b/Applications/FileManager/CMakeLists.txt
index b0bfcabee3..f650c97402 100644
--- a/Applications/FileManager/CMakeLists.txt
+++ b/Applications/FileManager/CMakeLists.txt
@@ -9,5 +9,5 @@ set(SOURCES
PropertiesDialog.cpp
)
-serenity_bin(FileManager)
+serenity_app(FileManager ICON filetype-folder)
target_link_libraries(FileManager LibGUI LibDesktop)
diff --git a/Applications/FontEditor/CMakeLists.txt b/Applications/FontEditor/CMakeLists.txt
index 0c39433507..079b7a521a 100644
--- a/Applications/FontEditor/CMakeLists.txt
+++ b/Applications/FontEditor/CMakeLists.txt
@@ -7,5 +7,5 @@ set(SOURCES
main.cpp
)
-serenity_bin(FontEditor)
+serenity_app(FontEditor ICON app-font-editor)
target_link_libraries(FontEditor LibGUI LibGfx)
diff --git a/Applications/Help/CMakeLists.txt b/Applications/Help/CMakeLists.txt
index 8d1a5038e2..46a832c044 100644
--- a/Applications/Help/CMakeLists.txt
+++ b/Applications/Help/CMakeLists.txt
@@ -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)
diff --git a/Applications/HexEditor/CMakeLists.txt b/Applications/HexEditor/CMakeLists.txt
index 3de7c9cfb5..ebe134863f 100644
--- a/Applications/HexEditor/CMakeLists.txt
+++ b/Applications/HexEditor/CMakeLists.txt
@@ -4,5 +4,5 @@ set(SOURCES
main.cpp
)
-serenity_bin(HexEditor)
+serenity_app(HexEditor ICON app-hexeditor)
target_link_libraries(HexEditor LibGUI)
diff --git a/Applications/IRCClient/CMakeLists.txt b/Applications/IRCClient/CMakeLists.txt
index 6f304b18c1..3926bbd5dc 100644
--- a/Applications/IRCClient/CMakeLists.txt
+++ b/Applications/IRCClient/CMakeLists.txt
@@ -10,5 +10,5 @@ set(SOURCES
main.cpp
)
-serenity_bin(IRCClient)
+serenity_app(IRCClient ICON app-irc-client)
target_link_libraries(IRCClient LibWeb LibGUI)
diff --git a/Applications/KeyboardSettings/CMakeLists.txt b/Applications/KeyboardSettings/CMakeLists.txt
index 54f5ea70aa..62212cda36 100644
--- a/Applications/KeyboardSettings/CMakeLists.txt
+++ b/Applications/KeyboardSettings/CMakeLists.txt
@@ -2,5 +2,5 @@ set(SOURCES
main.cpp
)
-serenity_bin(KeyboardSettings)
+serenity_app(KeyboardSettings ICON app-keyboard-settings)
target_link_libraries(KeyboardSettings LibGUI LibKeyboard)
diff --git a/Applications/Piano/CMakeLists.txt b/Applications/Piano/CMakeLists.txt
index 6756afb18c..382e023c3b 100644
--- a/Applications/Piano/CMakeLists.txt
+++ b/Applications/Piano/CMakeLists.txt
@@ -10,5 +10,5 @@ set(SOURCES
WaveWidget.cpp
)
-serenity_bin(Piano)
+serenity_app(Piano ICON app-piano)
target_link_libraries(Piano LibAudio LibGUI)
diff --git a/Applications/PixelPaint/CMakeLists.txt b/Applications/PixelPaint/CMakeLists.txt
index 73e2196ca7..713845c80e 100644
--- a/Applications/PixelPaint/CMakeLists.txt
+++ b/Applications/PixelPaint/CMakeLists.txt
@@ -23,5 +23,5 @@ set(SOURCES
Tool.cpp
)
-serenity_bin(PixelPaint)
+serenity_app(PixelPaint ICON app-pixel-paint)
target_link_libraries(PixelPaint LibGUI LibGfx)
diff --git a/Applications/QuickShow/CMakeLists.txt b/Applications/QuickShow/CMakeLists.txt
index c0f9a05e6b..8d2b46e217 100644
--- a/Applications/QuickShow/CMakeLists.txt
+++ b/Applications/QuickShow/CMakeLists.txt
@@ -3,5 +3,5 @@ set(SOURCES
QSWidget.cpp
)
-serenity_bin(QuickShow)
+serenity_app(QuickShow ICON filetype-image)
target_link_libraries(QuickShow LibGUI LibGfx)
diff --git a/Applications/SoundPlayer/CMakeLists.txt b/Applications/SoundPlayer/CMakeLists.txt
index 6c71842cd3..99e1da4653 100644
--- a/Applications/SoundPlayer/CMakeLists.txt
+++ b/Applications/SoundPlayer/CMakeLists.txt
@@ -5,5 +5,5 @@ set(SOURCES
SoundPlayerWidget.cpp
)
-serenity_bin(SoundPlayer)
+serenity_app(SoundPlayer ICON app-sound-player)
target_link_libraries(SoundPlayer LibAudio LibGUI)
diff --git a/Applications/Spreadsheet/CMakeLists.txt b/Applications/Spreadsheet/CMakeLists.txt
index ea0054dc7b..f41922655a 100644
--- a/Applications/Spreadsheet/CMakeLists.txt
+++ b/Applications/Spreadsheet/CMakeLists.txt
@@ -24,5 +24,5 @@ set(SOURCES
main.cpp
)
-serenity_bin(Spreadsheet)
+serenity_app(Spreadsheet ICON app-spreadsheet)
target_link_libraries(Spreadsheet LibGUI LibJS LibWeb)
diff --git a/Applications/SystemMonitor/CMakeLists.txt b/Applications/SystemMonitor/CMakeLists.txt
index bf078096cd..ee2e4d2323 100644
--- a/Applications/SystemMonitor/CMakeLists.txt
+++ b/Applications/SystemMonitor/CMakeLists.txt
@@ -12,5 +12,5 @@ set(SOURCES
ThreadStackWidget.cpp
)
-serenity_bin(SystemMonitor)
+serenity_app(SystemMonitor ICON app-system-monitor)
target_link_libraries(SystemMonitor LibGUI LibPCIDB)
diff --git a/Applications/Terminal/CMakeLists.txt b/Applications/Terminal/CMakeLists.txt
index c3a97c0886..a9b6c9747b 100644
--- a/Applications/Terminal/CMakeLists.txt
+++ b/Applications/Terminal/CMakeLists.txt
@@ -2,5 +2,5 @@ set(SOURCES
main.cpp
)
-serenity_bin(Terminal)
+serenity_app(Terminal ICON app-terminal)
target_link_libraries(Terminal LibGUI LibVT)
diff --git a/Applications/TextEditor/CMakeLists.txt b/Applications/TextEditor/CMakeLists.txt
index 897a77f287..e43a95aace 100644
--- a/Applications/TextEditor/CMakeLists.txt
+++ b/Applications/TextEditor/CMakeLists.txt
@@ -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)
diff --git a/Applications/ThemeEditor/CMakeLists.txt b/Applications/ThemeEditor/CMakeLists.txt
index e66d652f0a..94ca0e1f3e 100644
--- a/Applications/ThemeEditor/CMakeLists.txt
+++ b/Applications/ThemeEditor/CMakeLists.txt
@@ -3,5 +3,5 @@ set(SOURCES
main.cpp
)
-serenity_bin(ThemeEditor)
+serenity_app(ThemeEditor ICON app-theme-editor)
target_link_libraries(ThemeEditor LibGUI)