1{ 2 // See https://go.microsoft.com/fwlink/?LinkId=733558 3 // for the documentation about the tasks.json format 4 "version": "2.0.0", 5 "tasks": [ 6 { 7 "label": "build livecd", 8 "type": "shell", 9 "command": "ninja livecd", 10 "options": { 11 "cwd": "${workspaceFolder}/build" 12 }, 13 "group": "build", 14 "problemMatcher": [ 15 { 16 "owner": "cpp", 17 "fileLocation": ["relative", "${workspaceFolder}/build"], 18 "pattern": { 19 "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", 20 "file": 1, 21 "line": 2, 22 "column": 3, 23 "severity": 4, 24 "message": 5 25 } 26 } 27 ] 28 }, 29 { 30 "label": "build bootcd", 31 "type": "shell", 32 "command": "ninja bootcd", 33 "options": { 34 "cwd": "${workspaceFolder}/build" 35 }, 36 "group": "build", 37 "problemMatcher": [ 38 { 39 "base": "$gcc", 40 "fileLocation": ["relative", "${workspaceFolder}/build"], 41 }, 42 ] 43 }, 44 { 45 "label": "launch livecd", 46 "type": "process", 47 "options": { 48 "cwd": "${workspaceFolder}/build" 49 }, 50 "dependsOn": [ 51 "build livecd" 52 ], 53 "dependsOrder": "sequence", 54 "command": "qemu-system-i386", 55 "args": [ 56 "-cdrom", "livecd.iso", 57 "-chardev", "socket,port=9091,host=localhost,server,nowait,id=char0", 58 "-serial", "chardev:char0", 59 "-nic", "user,model=e1000", 60 "-boot", "d", 61 "-chardev", "socket,path=/tmp/livecd_dbg,server,nowait,id=char1", "-serial", "chardev:char1", 62 "-daemonize" 63 ], 64 "problemMatcher": [] 65 }, 66 { 67 "label": "launch bootcd", 68 "type": "process", 69 "options": { 70 "cwd": "${workspaceFolder}/build" 71 }, 72 "dependsOn": [ 73 "build bootcd" 74 ], 75 "dependsOrder": "sequence", 76 "command": "qemu-system-i386", 77 "args": [ 78 "-cdrom", "bootcd.iso", 79 "-hda", "${env:HOME}/reactos_hdd.qcow", 80 "-boot", "d", 81 "-m", "1024", 82 "-chardev", "socket,port=9091,host=localhost,server,nowait,id=char0", 83 "-serial", "chardev:char0", 84 "-nic", "user,model=e1000", 85 "-chardev", "socket,path=/tmp/bootcd_dbg,server,nowait,id=char1", "-serial", "chardev:char1", 86 "-daemonize" 87 ], 88 "problemMatcher": [] 89 }, 90 ], 91} 92