| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "title": "Pascal project",
- "description": "Project description consumed by the Pascal IDE (build, run, tasks, wizards).",
- "type": "object",
- "required": ["name", "main"],
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "Project name. Defaults the built executable to bin/<name>."
- },
- "main": {
- "type": "string",
- "minLength": 1,
- "description": "Main file relative to the project root, e.g. \"src/Main.pas\"."
- },
- "output": {
- "type": "string",
- "description": "Built executable relative to the root. Defaults to bin/<name>."
- },
- "compiler": {
- "type": "object",
- "description": "Compiler selection: Free Pascal (fpc) or Blaise.",
- "properties": {
- "type": {
- "type": "string",
- "enum": ["fpc", "blaise"],
- "description": "Compiler family."
- },
- "path": {
- "type": "string",
- "description": "Compiler executable. Defaults to \"fpc\" (or \"blaise\" for that family, or the pascal.compiler.path preference)."
- },
- "options": {
- "type": "array",
- "items": { "type": "string" },
- "description": "Extra compiler options appended to the build command."
- }
- },
- "additionalProperties": false
- },
- "sourceDirectories": {
- "type": "array",
- "items": { "type": "string" },
- "description": "Source folders searched by the New Unit wizard. Defaults to [\"src\"]."
- },
- "libraryDirectories": {
- "type": "array",
- "items": { "type": "string" },
- "description": "Third-party library folders searched by language services after the source folders."
- }
- },
- "additionalProperties": false
- }
|