0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-30 15:56:27 +00:00

chore: c++ config

This commit is contained in:
Baoshuo Ren 2022-03-31 20:55:37 +08:00
parent 5caa0740f4
commit ee8bfccd7f
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

View File

@ -1,4 +1,5 @@
{ {
"version": 4,
"configurations": [ "configurations": [
{ {
"name": "Win32", "name": "Win32",
@ -11,9 +12,13 @@
"_UNICODE" "_UNICODE"
], ],
"compilerPath": "C:/Program Files (x86_64)/mingw64/bin/g++.exe", "compilerPath": "C:/Program Files (x86_64)/mingw64/bin/g++.exe",
"cStandard": "c89", "cStandard": "c11",
"cppStandard": "c++11", "cppStandard": "c++14",
"intelliSenseMode": "gcc-x64" "intelliSenseMode": "gcc-x64",
"compilerArgs": [
"-lm",
"-O2"
]
}, },
{ {
"name": "Win32_Portable", "name": "Win32_Portable",
@ -26,9 +31,13 @@
"_UNICODE" "_UNICODE"
], ],
"compilerPath": "/Applications/mingw64/bin/g++.exe", "compilerPath": "/Applications/mingw64/bin/g++.exe",
"cStandard": "c89", "cStandard": "c11",
"cppStandard": "c++11", "cppStandard": "c++14",
"intelliSenseMode": "gcc-x64" "intelliSenseMode": "gcc-x64",
"compilerArgs": [
"-lm",
"-O2"
]
}, },
{ {
"name": "Linux", "name": "Linux",
@ -41,7 +50,7 @@
"_UNICODE" "_UNICODE"
], ],
"compilerPath": "/usr/bin/g++", "compilerPath": "/usr/bin/g++",
"cStandard": "c17", "cStandard": "c11",
"cppStandard": "c++14", "cppStandard": "c++14",
"intelliSenseMode": "linux-gcc-x64", "intelliSenseMode": "linux-gcc-x64",
"compilerArgs": [ "compilerArgs": [
@ -49,6 +58,5 @@
"-O2" "-O2"
] ]
} }
], ]
"version": 4
} }