mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 ce2f1b845f
			
		
	
	
		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.
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			633 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			633 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     RequestServer
 | |
|     TARGETS RequestServer
 | |
| )
 | |
| 
 | |
| compile_ipc(RequestServer.ipc RequestServerEndpoint.h)
 | |
| compile_ipc(RequestClient.ipc RequestClientEndpoint.h)
 | |
| 
 | |
| set(SOURCES
 | |
|     ConnectionFromClient.cpp
 | |
|     ConnectionCache.cpp
 | |
|     Request.cpp
 | |
|     GeminiRequest.cpp
 | |
|     GeminiProtocol.cpp
 | |
|     HttpRequest.cpp
 | |
|     HttpProtocol.cpp
 | |
|     HttpsRequest.cpp
 | |
|     HttpsProtocol.cpp
 | |
|     main.cpp
 | |
|     Protocol.cpp
 | |
| )
 | |
| 
 | |
| set(GENERATED_SOURCES
 | |
|     RequestClientEndpoint.h
 | |
|     RequestServerEndpoint.h
 | |
| )
 | |
| 
 | |
| serenity_bin(RequestServer)
 | |
| target_link_libraries(RequestServer PRIVATE LibCore LibCrypto LibIPC LibGemini LibHTTP LibMain LibTLS)
 |