Skip to content

Instantly share code, notes, and snippets.

@DrFrankenstein
Last active December 10, 2020 06:41
Show Gist options
  • Save DrFrankenstein/21304b3159625a18b319c38576af5d4d to your computer and use it in GitHub Desktop.
Save DrFrankenstein/21304b3159625a18b319c38576af5d4d to your computer and use it in GitHub Desktop.
build files
{
// 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": "clang++ - Générer et déboguer le fichier actif",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb",
"preLaunchTask": "C/C++: clang++ build active file"
}
]
}
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: clang++ build active file",
"command": "/usr/bin/clang++",
"args": [
"-std=c++17",
"-I/Users/ctessier/src/Microsoft/vcpkg/installed/x64-osx/include",
"-Wall", "-Wextra", "-pedantic", "-Wconversion",
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": "build",
"detail": "compiler: /usr/bin/clang++"
},
],
"version": "2.0.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment