mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37: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
Libraries/LibAudio/CMakeLists.txt
Normal file
13
Libraries/LibAudio/CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
set(SOURCES
|
||||
ClientConnection.cpp
|
||||
WavLoader.cpp
|
||||
WavWriter.cpp
|
||||
)
|
||||
|
||||
set(GENERATED_SOURCES
|
||||
../../Services/AudioServer/AudioClientEndpoint.h
|
||||
../../Services/AudioServer/AudioServerEndpoint.h
|
||||
)
|
||||
|
||||
serenity_lib(LibAudio audio)
|
||||
target_link_libraries(LibAudio LibCore LibIPC)
|
|
@ -1,17 +0,0 @@
|
|||
OBJS = \
|
||||
ClientConnection.o \
|
||||
WavWriter.o \
|
||||
WavLoader.o
|
||||
|
||||
LIBRARY = libaudio.a
|
||||
|
||||
ClientConnection.cpp: ../../Services/AudioServer/AudioClientEndpoint.h
|
||||
../../Services/AudioServer/AudioClientEndpoint.h:
|
||||
@flock $(dir $(@)) $(MAKE) -C $(dir $(@))
|
||||
|
||||
install:
|
||||
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibAudio/
|
||||
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LibAudio/
|
||||
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
|
||||
|
||||
include ../../Makefile.common
|
Loading…
Add table
Add a link
Reference in a new issue