summaryrefslogtreecommitdiff
path: root/Demos
diff options
context:
space:
mode:
authortgsm <thomas.gresham@hotmail.com>2020-05-16 16:51:42 -0400
committerAndreas Kling <kling@serenityos.org>2020-05-16 22:59:19 +0200
commit56c45380855cf3d6ba23d4aaab4acf9185a409b0 (patch)
treec326f0042f29ff4c977f91c4c21d259b28840ba0 /Demos
parentc52f4923ed3798810ed54d57164200b8b25401c4 (diff)
downloadserenity-56c45380855cf3d6ba23d4aaab4acf9185a409b0.zip
Demos: Compile LibGfxDemo with the new CMake build system
Diffstat (limited to 'Demos')
-rw-r--r--Demos/CMakeLists.txt1
-rw-r--r--Demos/LibGfxDemo/CMakeLists.txt6
-rw-r--r--Demos/LibGfxDemo/Makefile8
3 files changed, 7 insertions, 8 deletions
diff --git a/Demos/CMakeLists.txt b/Demos/CMakeLists.txt
index 7a64474296..da387e0a8e 100644
--- a/Demos/CMakeLists.txt
+++ b/Demos/CMakeLists.txt
@@ -2,6 +2,7 @@ add_subdirectory(Cube)
add_subdirectory(DynamicLink)
add_subdirectory(Fire)
add_subdirectory(HelloWorld)
+add_subdirectory(LibGfxDemo)
add_subdirectory(Mouse)
add_subdirectory(Screensaver)
add_subdirectory(WidgetGallery)
diff --git a/Demos/LibGfxDemo/CMakeLists.txt b/Demos/LibGfxDemo/CMakeLists.txt
new file mode 100644
index 0000000000..c63ce34e61
--- /dev/null
+++ b/Demos/LibGfxDemo/CMakeLists.txt
@@ -0,0 +1,6 @@
+set(SOURCES
+ main.cpp
+)
+
+serenity_bin(LibGfxDemo)
+target_link_libraries(LibGfxDemo LibGUI LibIPC LibGfx LibCore)
diff --git a/Demos/LibGfxDemo/Makefile b/Demos/LibGfxDemo/Makefile
deleted file mode 100644
index aa07e0a7fd..0000000000
--- a/Demos/LibGfxDemo/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-OBJS = \
- main.o
-
-PROGRAM = LibGfxDemo
-
-LIB_DEPS = GUI IPC Gfx Core
-
-include ../../Makefile.common