{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Compiler setup to compile Lua as part of native Lua",
  "properties": {
    "CFLAGS": {
      "description": "CFLAGS to be passed to the compiler",
      "type": "array"
    },
    "CMCFLAGS": {
      "description": "Compiler module CFLAGS to be passed to the compiler",
      "type": "array"
    },
    "DEFINES": {
      "description": "DEFINES to be passed to the compiler",
      "type": "array"
    },
    "LINKFLAGS": {
      "description": "LINKFLAGS to be passed to the compiler/linker",
      "type": "array"
    },
    "libs": {
      "description": "Additional libraries to be passed to the compiler/linker",
      "type": "array"
    },
    "std": {
      "description": "The C standard for all source files",
      "properties": {
        "opt": {
          "description": "The argument to set the compiler C standard",
          "type": "string"
        },
        "val": {
          "description": "The value of the C standard",
          "type": "string"
        }
      },
      "required": [
        "opt",
        "val"
      ],
      "type": "object"
    }
  },
  "required": [
    "std",
    "CFLAGS",
    "DEFINES",
    "CMCFLAGS"
  ],
  "title": "Product",
  "type": "object"
}