mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 14:15:08 +00:00

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.
22 lines
583 B
CMake
22 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)
|