mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02:22:43 +00:00 
			
		
		
		
	 631d36fd98
			
		
	
	
		631d36fd98
		
	
	
	
	
		
			
			This adds component declarations so that users can select to not build certain parts of the OS.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			488 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			488 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     CppLanguageServer
 | |
|     TARGETS CppLanguageServer
 | |
| )
 | |
| 
 | |
| set(SOURCES
 | |
|     CppComprehensionEngine.cpp
 | |
|     Tests.cpp
 | |
|     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 LibIPC LibCpp LibGUI LibLanguageServer)
 |