mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:07:35 +00:00
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
This commit is contained in:
parent
49727ffee4
commit
450a2a0f9c
236 changed files with 1774 additions and 2337 deletions
27
Services/WindowServer/CMakeLists.txt
Normal file
27
Services/WindowServer/CMakeLists.txt
Normal file
|
@ -0,0 +1,27 @@
|
|||
compile_ipc(WindowServer.ipc WindowServerEndpoint.h)
|
||||
compile_ipc(WindowClient.ipc WindowClientEndpoint.h)
|
||||
|
||||
set(SOURCES
|
||||
AppletManager.cpp
|
||||
Button.cpp
|
||||
ClientConnection.cpp
|
||||
Clipboard.cpp
|
||||
Compositor.cpp
|
||||
Cursor.cpp
|
||||
EventLoop.cpp
|
||||
main.cpp
|
||||
MenuBar.cpp
|
||||
Menu.cpp
|
||||
MenuItem.cpp
|
||||
MenuManager.cpp
|
||||
Screen.cpp
|
||||
Window.cpp
|
||||
WindowFrame.cpp
|
||||
WindowManager.cpp
|
||||
WindowSwitcher.cpp
|
||||
WindowServerEndpoint.h
|
||||
WindowClientEndpoint.h
|
||||
)
|
||||
|
||||
serenity_bin(WindowServer)
|
||||
target_link_libraries(WindowServer LibCore LibGfx LibThread LibPthread LibIPC)
|
|
@ -1,38 +0,0 @@
|
|||
OBJS = \
|
||||
AppletManager.o \
|
||||
Button.o \
|
||||
ClientConnection.o \
|
||||
Clipboard.o \
|
||||
Compositor.o \
|
||||
Cursor.o \
|
||||
EventLoop.o \
|
||||
Menu.o \
|
||||
MenuBar.o \
|
||||
MenuItem.o \
|
||||
MenuManager.o \
|
||||
Screen.o \
|
||||
Window.o \
|
||||
WindowFrame.o \
|
||||
WindowManager.o \
|
||||
WindowSwitcher.o \
|
||||
main.o
|
||||
|
||||
PROGRAM = WindowServer
|
||||
|
||||
LIB_DEPS = Gfx Core Thread Pthread IPC
|
||||
|
||||
*.cpp: WindowServerEndpoint.h WindowClientEndpoint.h
|
||||
|
||||
WindowServerEndpoint.h: WindowServer.ipc | IPCCOMPILER
|
||||
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
||||
|
||||
WindowClientEndpoint.h: WindowClient.ipc | IPCCOMPILER
|
||||
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
||||
|
||||
EXTRA_CLEAN = WindowServerEndpoint.h WindowClientEndpoint.h
|
||||
|
||||
install:
|
||||
mkdir -p ../../Root/usr/include/WindowServer/
|
||||
cp *.h ../../Root/usr/include/WindowServer/
|
||||
|
||||
include ../../Makefile.common
|
|
@ -29,9 +29,9 @@
|
|||
#include "Event.h"
|
||||
#include "EventLoop.h"
|
||||
#include "Screen.h"
|
||||
#include "WindowClientEndpoint.h"
|
||||
#include "WindowManager.h"
|
||||
#include <AK/Badge.h>
|
||||
#include <WindowServer/WindowClientEndpoint.h>
|
||||
|
||||
namespace WindowServer {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue