mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:32:46 +00:00 
			
		
		
		
	 a97944e483
			
		
	
	
		a97944e483
		
	
	
	
	
		
			
			Alias values are represented by "alias-name=real-name". We have a lot of repetitive code for converting between ValueID and property-specific enums. Let's see if we can generate it. :^) This first step just produces the enums, from a JSON file. The values in there are a duplication of what's in Properties.json, but eventually those will go away.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			463 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			463 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES "") # avoid pulling SOURCES from parent scope
 | |
| 
 | |
| lagom_tool(GenerateCSSEnums                SOURCES GenerateCSSEnums.cpp LIBS LagomMain)
 | |
| lagom_tool(GenerateCSSMediaFeatureID       SOURCES GenerateCSSMediaFeatureID.cpp LIBS LagomMain)
 | |
| lagom_tool(GenerateCSSPropertyID           SOURCES GenerateCSSPropertyID.cpp LIBS LagomMain)
 | |
| lagom_tool(GenerateCSSValueID              SOURCES GenerateCSSValueID.cpp LIBS LagomMain)
 | |
| 
 | |
| add_subdirectory(WrapperGenerator)
 |