mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27: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
13
Services/NotificationServer/CMakeLists.txt
Normal file
13
Services/NotificationServer/CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
compile_ipc(NotificationServer.ipc NotificationServerEndpoint.h)
|
||||
compile_ipc(NotificationClient.ipc NotificationClientEndpoint.h)
|
||||
|
||||
set(SOURCES
|
||||
ClientConnection.cpp
|
||||
main.cpp
|
||||
NotificationWindow.cpp
|
||||
NotificationServerEndpoint.h
|
||||
NotificationClientEndpoint.h
|
||||
)
|
||||
|
||||
serenity_bin(NotificationServer)
|
||||
target_link_libraries(NotificationServer LibGUI LibIPC)
|
|
@ -25,9 +25,9 @@
|
|||
*/
|
||||
|
||||
#include "ClientConnection.h"
|
||||
#include "NotificationClientEndpoint.h"
|
||||
#include "NotificationWindow.h"
|
||||
#include <AK/HashMap.h>
|
||||
#include <NotificationServer/NotificationClientEndpoint.h>
|
||||
|
||||
namespace NotificationServer {
|
||||
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
OBJS = \
|
||||
main.o \
|
||||
ClientConnection.o \
|
||||
NotificationWindow.o
|
||||
|
||||
PROGRAM = NotificationServer
|
||||
|
||||
LIB_DEPS = GUI Gfx Core IPC
|
||||
|
||||
EXTRA_CLEAN = NotificationServerEndpoint.h NotificationClientEndpoint.h
|
||||
|
||||
*.cpp: NotificationServerEndpoint.h NotificationClientEndpoint.h
|
||||
|
||||
NotificationServerEndpoint.h: NotificationServer.ipc | IPCCOMPILER
|
||||
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
||||
|
||||
NotificationClientEndpoint.h: NotificationClient.ipc | IPCCOMPILER
|
||||
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
||||
|
||||
install:
|
||||
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/NotificationServer/
|
||||
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/NotificationServer/
|
||||
|
||||
include ../../Makefile.common
|
Loading…
Add table
Add a link
Reference in a new issue