mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:02:46 +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.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			456 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			456 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     CppComprehensionEngine.cpp
 | |
| )
 | |
| 
 | |
| serenity_lib(LibCppComprehension cppcomprehension)
 | |
| target_link_libraries(LibCppComprehension PRIVATE LibCodeComprehension)
 | |
| 
 | |
| serenity_component(
 | |
|     CppComprehensionTests
 | |
|     TARGETS CppComprehensionTests
 | |
| )
 | |
| 
 | |
| set(SOURCES
 | |
|     CppComprehensionEngine.cpp
 | |
|     Tests.cpp
 | |
| )
 | |
| 
 | |
| serenity_bin(CppComprehensionTests)
 | |
| 
 | |
| target_link_libraries(CppComprehensionTests PRIVATE LibCodeComprehension LibCore LibCpp LibRegex LibMain)
 |