mirror of
				https://github.com/Laupetin/OpenAssetTools.git
				synced 2025-10-31 18:47:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			359 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			359 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| json = {}
 | |
| 
 | |
| function json:include(includes)
 | |
| 	if includes:handle(self:name()) then
 | |
| 		defines {
 | |
| 			"JSON_DIAGNOSTICS=1",
 | |
| 			"HAS_NLOHMANN_JSON"
 | |
| 		}
 | |
| 		includedirs {
 | |
| 			path.join(ThirdPartyFolder(), "json", "single_include")
 | |
| 		}
 | |
| 	end
 | |
| end
 | |
| 
 | |
| function json:link()
 | |
| end
 | |
| 
 | |
| function json:use()
 | |
| 	
 | |
| end
 | |
| 
 | |
| function json:name()
 | |
|     return "json"
 | |
| end
 | |
| 
 | |
| function json:project()
 | |
| end
 |