diff options
author | George L. Albany <Megacake1234@gmail.com> | 2023-09-04 19:16:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-04 19:16:40 +0200 |
commit | 238ab9dfaa8ec7a48142154d227605ae367d53d1 (patch) | |
tree | 9833fa669651e04dea81b9b2b5875a8d21ea938e /.vscode | |
parent | 027828532837673a3631c8a9a8128f9b89a9db43 (diff) | |
parent | a705b0223664f915d8bb00d4f89e05838da3e4bc (diff) |
Merge pull request #11 from OpenVicProject/fix/more-csv-problems
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/launch.json | 35 | ||||
-rw-r--r-- | .vscode/tasks.json | 53 |
2 files changed, 88 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..6ec9117 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,35 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "cppdbg", + "request": "launch", + "name": "Debug", + "program": "${workspaceFolder}/bin/openvic-dataloader.headless.linux.template_debug.dev.x86_64", + "args": ["csv", "./output.csv"], + "cwd": "${workspaceFolder}/bin", + "preLaunchTask": "dev_build", + "windows": { + "type": "cppvsdb", + "request": "launch", + "name": "Debug", + "program": "${workspaceFolder}\\bin\\openvic-dataloader.headless.windows.template_debug.dev.x86_64", + "args": ["csv", "./output.csv"], + "cwd": "${workspaceFolder}\\bin", + "preLaunchTask": "dev_build", + }, + "osx": { + "type": "cppvsdb", + "request": "launch", + "name": "Debug", + "program": "", // TODO: Mac executable? + "args": [], + "cwd": "${workspaceFolder}\\game", + "preLaunchTask": "dev_build", + } + } + ] +}
\ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..65e62ec --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,53 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "group": "build", + "type": "shell", + "command": "scons", + "args": [ + // enable for debugging with breakpoints + //"dev_build=yes", + ], + "problemMatcher": "$msCompile" + }, + { + "label": "dev_build", + "group": "build", + "type": "shell", + "command": "scons", + "args": [ + // enable for debugging with breakpoints + "dev_build=yes", + "debug_symbols=yes" + ], + "dependsOn": [ + "build" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "clean", + "group": "build", + "type": "shell", + "command": "scons", + "args": [ + "--clean" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "rebuild", + "group": "build", + "type": "shell", + "dependsOn": [ + "clean", + "build" + ], + "problemMatcher": "$msCompile" + } + ] +}
\ No newline at end of file |