mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:32:43 +00:00 
			
		
		
		
	 869c20b05d
			
		
	
	
		869c20b05d
		
	
	
	
	
		
			
			This downloads the UEFI's published PNP ID database and generates a lookup table for use in LibEDID. The lookup table isn't optimized at all, but this can be easily done at a later point if needed.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			297 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			297 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| include(${SerenityOS_SOURCE_DIR}/Meta/CMake/pnp_ids.cmake)
 | |
| 
 | |
| set(SOURCES
 | |
|     DMT.cpp
 | |
|     EDID.cpp
 | |
|     VIC.cpp
 | |
|     ${PNP_IDS_SOURCES}
 | |
| )
 | |
| 
 | |
| serenity_lib(LibEDID edid)
 | |
| target_link_libraries(LibEDID LibC)
 | |
| target_compile_definitions(LibEDID PRIVATE ENABLE_PNP_IDS_DATA=$<BOOL:${ENABLE_PNP_IDS_DOWNLOAD}>)
 |