Last active
March 9, 2021 00:32
-
-
Save johnmcfarlane/bfe52e2aef8abf43ba52b37694574493 to your computer and use it in GitHub Desktop.
.vscode CMake/Conan project configuration cookbook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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": [ | |
{ | |
"name": "(gdb) Launch", | |
"type": "cppdbg", | |
"request": "launch", | |
"program": "${workspaceFolder}/build/test/unit/test-unit-elastic_integer-elastic_integer", | |
"args": [], | |
"stopAtEntry": false, | |
"cwd": "${workspaceFolder}", | |
"environment": [], | |
"console": "externalTerminal", | |
"MIMode": "gdb", | |
"linux": { | |
"MIMode": "gdb", | |
"miDebuggerPath": "/home/jmcfarla/gdb-10/bin/gdb", | |
}, | |
"setupCommands": [ | |
{ | |
"description": "Enable pretty-printing for gdb", | |
"text": "-enable-pretty-printing", | |
"ignoreFailures": true | |
} | |
] | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"files.associations": { | |
"type_traits": "cpp", | |
"chrono": "cpp", | |
"cctype": "cpp", | |
"clocale": "cpp", | |
"cmath": "cpp", | |
"cstdarg": "cpp", | |
"cstddef": "cpp", | |
"cstdio": "cpp", | |
"cstdlib": "cpp", | |
"cstring": "cpp", | |
"cwchar": "cpp", | |
"cwctype": "cpp", | |
"array": "cpp", | |
"atomic": "cpp", | |
"bit": "cpp", | |
"*.tcc": "cpp", | |
"charconv": "cpp", | |
"compare": "cpp", | |
"concepts": "cpp", | |
"cstdint": "cpp", | |
"deque": "cpp", | |
"unordered_map": "cpp", | |
"vector": "cpp", | |
"exception": "cpp", | |
"algorithm": "cpp", | |
"functional": "cpp", | |
"iterator": "cpp", | |
"memory": "cpp", | |
"memory_resource": "cpp", | |
"numeric": "cpp", | |
"optional": "cpp", | |
"random": "cpp", | |
"string": "cpp", | |
"string_view": "cpp", | |
"system_error": "cpp", | |
"tuple": "cpp", | |
"utility": "cpp", | |
"fstream": "cpp", | |
"initializer_list": "cpp", | |
"iosfwd": "cpp", | |
"istream": "cpp", | |
"limits": "cpp", | |
"new": "cpp", | |
"numbers": "cpp", | |
"ostream": "cpp", | |
"ranges": "cpp", | |
"sstream": "cpp", | |
"stdexcept": "cpp", | |
"streambuf": "cpp", | |
"cinttypes": "cpp", | |
"typeinfo": "cpp", | |
"typeindex": "cpp", | |
"bitset": "cpp", | |
"list": "cpp", | |
"complex": "cpp", | |
"variant": "cpp" | |
}, | |
"search.exclude": { | |
"build/**": true | |
}, | |
"cmake.configureSettings": { | |
"CMAKE_MODULE_PATH": "${workspaceFolder}/build", | |
"CMAKE_TOOLCHAIN_FILE": "${workspaceFolder}/test/toolchain/gcc.cmake", | |
}, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "test", | |
"type": "shell", | |
"command": "${workspaceRoot}/test/scripts/test", | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"options": { | |
"cwd": "${workspaceRoot}/build", | |
}, | |
"presentation": { | |
"echo": true, | |
"reveal": "always", | |
"focus": false, | |
"panel": "new", | |
"showReuseMessage": true, | |
"clear": true, | |
}, | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment