mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:38:10 +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
11
Libraries/LibDesktop/CMakeLists.txt
Normal file
11
Libraries/LibDesktop/CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
set(SOURCES
|
||||
Launcher.cpp
|
||||
)
|
||||
|
||||
set(GENERATED_SOURCES
|
||||
../../Services/LaunchServer/LaunchClientEndpoint.h
|
||||
../../Services/LaunchServer/LaunchServerEndpoint.h
|
||||
)
|
||||
|
||||
serenity_lib(LibDesktop desktop)
|
||||
target_link_libraries(LibDesktop LibIPC)
|
|
@ -1,20 +0,0 @@
|
|||
OBJS = \
|
||||
Launcher.o
|
||||
|
||||
LIBRARY = libdesktop.a
|
||||
|
||||
# HACK: LaunchServer builds after LibDesktop so we need to explicitly generate these IPC headers
|
||||
Launcher.cpp: ../../Services/LaunchServer/LaunchServerEndpoint.h ../../Services/LaunchServer/LaunchClientEndpoint.h
|
||||
|
||||
../../Services/LaunchServer/LaunchServerEndpoint.h:
|
||||
$(MAKE) -C $(dir $(@)) LaunchServerEndpoint.h
|
||||
|
||||
../../Services/LaunchServer/LaunchClientEndpoint.h:
|
||||
$(MAKE) -C $(dir $(@)) LaunchClientEndpoint.h
|
||||
|
||||
install:
|
||||
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibDesktop/
|
||||
cp ./*.h $(SERENITY_BASE_DIR)/Root/usr/include/LibDesktop/
|
||||
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
|
||||
|
||||
include ../../Makefile.common
|
Loading…
Add table
Add a link
Reference in a new issue