ladybird/Userland/Services/FileSystemAccessServer/CMakeLists.txt
Tim Schumacher ce2f1b845f Everywhere: Mark dependencies of most targets as PRIVATE
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.
2022-11-01 14:49:09 +00:00

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)