mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 04:12:43 +00:00 
			
		
		
		
	 2acff8d853
			
		
	
	
		2acff8d853
		
	
	
	
	
		
			
			This new code generator takes all the .idl files in LibWeb, looks for each top level interface in there with an [Exposed=Foo] attribute, and adds code to add the constructor and prototype for each of those exposed interfaces to the realm of the relevant global object we're initialzing. It will soon replace WindowObjectHelper as the way that web interfaces are added to the Window object, and will be used in the future for creating proper WorkerGlobalScope objects for dedicated and shared workers.
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			665 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			665 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES "") # avoid pulling SOURCES from parent scope
 | |
| 
 | |
| lagom_tool(GenerateCSSEnums                SOURCES GenerateCSSEnums.cpp LIBS LibMain)
 | |
| lagom_tool(GenerateCSSMediaFeatureID       SOURCES GenerateCSSMediaFeatureID.cpp LIBS LibMain)
 | |
| lagom_tool(GenerateCSSPropertyID           SOURCES GenerateCSSPropertyID.cpp LIBS LibMain)
 | |
| lagom_tool(GenerateCSSTransformFunctions   SOURCES GenerateCSSTransformFunctions.cpp LIBS LibMain)
 | |
| lagom_tool(GenerateCSSValueID              SOURCES GenerateCSSValueID.cpp LIBS LibMain)
 | |
| lagom_tool(GenerateWindowOrWorkerInterfaces SOURCES GenerateWindowOrWorkerInterfaces.cpp LIBS LibMain LibIDL)
 | |
| 
 | |
| add_subdirectory(BindingsGenerator)
 |