aboutsummaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
author Spartan322 <Megacake1234@gmail.com>2023-09-03 23:54:18 +0200
committer Spartan322 <Megacake1234@gmail.com>2023-09-04 18:22:33 +0200
commita705b0223664f915d8bb00d4f89e05838da3e4bc (patch)
tree9833fa669651e04dea81b9b2b5875a8d21ea938e /.vscode
parent027828532837673a3631c8a9a8128f9b89a9db43 (diff)
Add Windows-1252 CSV Parser
Fix CsvGrammar counting behavior Add csv parse argument to headless/main.cpp Change LineObject contained value type to pair Add ostream print to LineObject Add vscode tasks.json Add vscode launch.json Move csv::Parser template class specialization to end of Parser.cpp Add detail/ClassExport.hpp to assist compiler export
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json35
-rw-r--r--.vscode/tasks.json53
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