vs code's cmake options
hitbuyi
46
Reputation points
how to set cmake's options on vscode? somebody said it is in task.json, the other said in setting.json, I test it works in setting.json
but there are still qutestions,
in setting.json, I set
{
"C_Cpp.errorSquiggles": "Enabled",
//test ok
"cmake.configureArgs": [
"-DCMAKE_BUILD_TYPE=Release",
"-DENABLE_TENSORRT=on",
]
}
but in the bottle if cmake tool, it seems the program still build in Debug mode
Developer technologies | C++
3,973 questions
Sign in to answer