mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:02:44 +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.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			442 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			442 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(TEST_SOURCES
 | |
|     test-run-ls.cpp
 | |
|     ue-write-oob.cpp
 | |
| )
 | |
| 
 | |
| # FIXME: These tests do not use LibTest
 | |
| foreach(source IN LISTS TEST_SOURCES)
 | |
|     get_filename_component(test_name "${source}" NAME_WE)
 | |
|     add_executable("${test_name}" "${source}")
 | |
|     target_link_libraries("${test_name}" PRIVATE LibCore)
 | |
|     serenity_set_implicit_links("${test_name}")
 | |
|     install(TARGETS "${test_name}" RUNTIME DESTINATION usr/Tests/UserEmulator)
 | |
| endforeach()
 |