mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 01:32: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.
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			496 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			496 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     CppLanguageServer
 | |
|     TARGETS CppLanguageServer
 | |
| )
 | |
| 
 | |
| set(SOURCES
 | |
|     main.cpp
 | |
| )
 | |
| 
 | |
| set(GENERATED_SOURCES
 | |
|     ../LanguageServerEndpoint.h
 | |
|     ../LanguageClientEndpoint.h)
 | |
| 
 | |
| serenity_bin(CppLanguageServer)
 | |
| 
 | |
| # We link with LibGUI because we use GUI::TextDocument to update
 | |
| # the content of files according to the edit actions we receive over IPC.
 | |
| target_link_libraries(CppLanguageServer PRIVATE LibIPC LibCore LibCpp LibGUI LibLanguageServer LibCppComprehension LibMain LibRegex)
 |