summaryrefslogtreecommitdiff
path: root/Applications/TextEditor
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@serenityos.org>2020-05-06 18:40:06 +0300
committerAndreas Kling <kling@serenityos.org>2020-05-14 20:15:18 +0200
commit450a2a0f9ce2443bc06445ee018c9860d8cd5fc8 (patch)
treec124a612ef259b764855af5e33c39e0d09ad4df2 /Applications/TextEditor
parent49727ffee424d8c0038ce18b91b0bf0ff33b1a4d (diff)
downloadserenity-450a2a0f9ce2443bc06445ee018c9860d8cd5fc8.zip
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
Diffstat (limited to 'Applications/TextEditor')
-rw-r--r--Applications/TextEditor/CMakeLists.txt7
-rw-r--r--Applications/TextEditor/Makefile9
2 files changed, 7 insertions, 9 deletions
diff --git a/Applications/TextEditor/CMakeLists.txt b/Applications/TextEditor/CMakeLists.txt
new file mode 100644
index 0000000000..6b3346edf3
--- /dev/null
+++ b/Applications/TextEditor/CMakeLists.txt
@@ -0,0 +1,7 @@
+set(SOURCES
+ main.cpp
+ TextEditorWidget.cpp
+)
+
+serenity_bin(TextEditor)
+target_link_libraries(TextEditor LibWeb LibMarkdown LibGUI)
diff --git a/Applications/TextEditor/Makefile b/Applications/TextEditor/Makefile
deleted file mode 100644
index 545526a16a..0000000000
--- a/Applications/TextEditor/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-OBJS = \
- TextEditorWidget.o \
- main.o
-
-PROGRAM = TextEditor
-
-LIB_DEPS = Web TextCodec Markdown GUI Gfx VT Protocol IPC Thread Pthread Core JS
-
-include ../../Makefile.common