mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +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/LaunchServer/CMakeLists.txt
Normal file
13
Services/LaunchServer/CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
compile_ipc(LaunchServer.ipc LaunchServerEndpoint.h)
|
||||
compile_ipc(LaunchClient.ipc LaunchClientEndpoint.h)
|
||||
|
||||
set(SOURCES
|
||||
ClientConnection.cpp
|
||||
Launcher.cpp
|
||||
main.cpp
|
||||
LaunchClientEndpoint.h
|
||||
LaunchServerEndpoint.h
|
||||
)
|
||||
|
||||
serenity_bin(LaunchServer)
|
||||
target_link_libraries(LaunchServer LibCore LibIPC)
|
|
@ -25,10 +25,10 @@
|
|||
*/
|
||||
|
||||
#include "ClientConnection.h"
|
||||
#include "LaunchClientEndpoint.h"
|
||||
#include "Launcher.h"
|
||||
#include <AK/HashMap.h>
|
||||
#include <AK/URL.h>
|
||||
#include <LaunchServer/LaunchClientEndpoint.h>
|
||||
|
||||
namespace LaunchServer {
|
||||
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
OBJS = \
|
||||
main.o \
|
||||
ClientConnection.o \
|
||||
Launcher.o
|
||||
|
||||
PROGRAM = LaunchServer
|
||||
|
||||
LIB_DEPS = Core IPC
|
||||
|
||||
EXTRA_CLEAN = LaunchServerEndpoint.h LaunchClientEndpoint.h
|
||||
|
||||
*.cpp: LaunchServerEndpoint.h LaunchClientEndpoint.h
|
||||
|
||||
LaunchServerEndpoint.h: LaunchServer.ipc | IPCCOMPILER
|
||||
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
||||
|
||||
LaunchClientEndpoint.h: LaunchClient.ipc | IPCCOMPILER
|
||||
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
||||
|
||||
install:
|
||||
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LaunchServer/
|
||||
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LaunchServer/
|
||||
|
||||
include ../../Makefile.common
|
|
@ -29,7 +29,6 @@
|
|||
#include <LibCore/ConfigFile.h>
|
||||
#include <LibCore/EventLoop.h>
|
||||
#include <LibCore/LocalServer.h>
|
||||
#include <LibGUI/WindowServerConnection.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue