mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:32:43 +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
		
	
	
	
		
			499 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			499 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     ShellLanguageServer
 | |
|     TARGETS ShellLanguageServer
 | |
| )
 | |
| 
 | |
| set(SOURCES
 | |
|     main.cpp
 | |
| )
 | |
| 
 | |
| set(GENERATED_SOURCES
 | |
|     ../LanguageServerEndpoint.h
 | |
|     ../LanguageClientEndpoint.h)
 | |
| 
 | |
| serenity_bin(ShellLanguageServer)
 | |
| 
 | |
| # 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(ShellLanguageServer PRIVATE LibCore LibIPC LibShell LibGUI LibLanguageServer LibShellComprehension LibMain)
 |