summaryrefslogtreecommitdiff
path: root/Demos/HelloWorld
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 /Demos/HelloWorld
parent49727ffee424d8c0038ce18b91b0bf0ff33b1a4d (diff)
downloadserenity-450a2a0f9ce2443bc06445ee018c9860d8cd5fc8.zip
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
Diffstat (limited to 'Demos/HelloWorld')
-rw-r--r--Demos/HelloWorld/CMakeLists.txt6
-rw-r--r--Demos/HelloWorld/Makefile8
2 files changed, 6 insertions, 8 deletions
diff --git a/Demos/HelloWorld/CMakeLists.txt b/Demos/HelloWorld/CMakeLists.txt
new file mode 100644
index 0000000000..2469b40a09
--- /dev/null
+++ b/Demos/HelloWorld/CMakeLists.txt
@@ -0,0 +1,6 @@
+set(SOURCES
+ main.cpp
+)
+
+serenity_bin(HelloWorld)
+target_link_libraries(HelloWorld LibGUI)
diff --git a/Demos/HelloWorld/Makefile b/Demos/HelloWorld/Makefile
deleted file mode 100644
index 30d76744dc..0000000000
--- a/Demos/HelloWorld/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-OBJS = \
- main.o
-
-PROGRAM = HelloWorld
-
-LIB_DEPS = GUI IPC Gfx Core
-
-include ../../Makefile.common