From 56c45380855cf3d6ba23d4aaab4acf9185a409b0 Mon Sep 17 00:00:00 2001 From: tgsm Date: Sat, 16 May 2020 16:51:42 -0400 Subject: [PATCH] Demos: Compile LibGfxDemo with the new CMake build system --- Demos/CMakeLists.txt | 1 + Demos/LibGfxDemo/CMakeLists.txt | 6 ++++++ Demos/LibGfxDemo/Makefile | 8 -------- 3 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 Demos/LibGfxDemo/CMakeLists.txt delete mode 100644 Demos/LibGfxDemo/Makefile 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