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