mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
ce2f1b845f
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
23 lines
583 B
CMake
23 lines
583 B
CMake
serenity_component(
|
|
FileSystemAccessServer
|
|
REQUIRED
|
|
TARGETS FileSystemAccessServer
|
|
)
|
|
|
|
compile_ipc(FileSystemAccessServer.ipc FileSystemAccessServerEndpoint.h)
|
|
compile_ipc(FileSystemAccessClient.ipc FileSystemAccessClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
ConnectionFromClient.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
FileSystemAccessServerEndpoint.h
|
|
FileSystemAccessClientEndpoint.h
|
|
)
|
|
|
|
serenity_bin(FileSystemAccessServer)
|
|
target_link_libraries(FileSystemAccessServer PRIVATE LibCore LibIPC LibGfx LibGUI LibMain)
|
|
add_dependencies(FileSystemAccessServer WindowServer)
|