0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-24 03:31:59 +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": [
{
"name": "Win32",
@ -11,9 +12,13 @@
"_UNICODE"
],
"compilerPath": "C:/Program Files (x86_64)/mingw64/bin/g++.exe",
"cStandard": "c89",
"cppStandard": "c++11",
"intelliSenseMode": "gcc-x64"
"cStandard": "c11",
"cppStandard": "c++14",
"intelliSenseMode": "gcc-x64",
"compilerArgs": [
"-lm",
"-O2"
]
},
{
"name": "Win32_Portable",
@ -26,9 +31,13 @@
"_UNICODE"
],
"compilerPath": "/Applications/mingw64/bin/g++.exe",
"cStandard": "c89",
"cppStandard": "c++11",
"intelliSenseMode": "gcc-x64"
"cStandard": "c11",
"cppStandard": "c++14",
"intelliSenseMode": "gcc-x64",
"compilerArgs": [
"-lm",
"-O2"
]
},
{
"name": "Linux",
@ -41,7 +50,7 @@
"_UNICODE"
],
"compilerPath": "/usr/bin/g++",
"cStandard": "c17",
"cStandard": "c11",
"cppStandard": "c++14",
"intelliSenseMode": "linux-gcc-x64",
"compilerArgs": [
@ -49,6 +58,5 @@
"-O2"
]
}
],
"version": 4
}
]
}