Skip to content
This repository was archived by the owner on Aug 2, 2020. It is now read-only.

Commit d743514

Browse files
authored
Update CMakeSettings.json
1 parent c206cdc commit d743514

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeSettings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"configurationType": "Debug",
1515
"inheritEnvironments": [ "msvc_x86" ],
1616
"buildRoot": "${projectDir}\\build\\${name}",
17-
"cmakeCommandArgs": "-T ${env.MSVC_TOOLSET}",
17+
"cmakeCommandArgs": "-T ${env.MSVC_TOOLSET} -DCMAKE_BUILD_TYPE=${name}",
1818
"buildCommandArgs": "",
1919
"ctestCommandArgs": "",
2020
"variables": [
@@ -34,7 +34,7 @@
3434
"configurationType": "Release",
3535
"inheritEnvironments": [ "msvc_x86" ],
3636
"buildRoot": "${projectDir}\\build\\${name}",
37-
"cmakeCommandArgs": "-T ${env.MSVC_TOOLSET}",
37+
"cmakeCommandArgs": "-T ${env.MSVC_TOOLSET} -DCMAKE_BUILD_TYPE=${name}",
3838
"buildCommandArgs": "",
3939
"ctestCommandArgs": "",
4040
"variables": [
@@ -49,4 +49,4 @@
4949
]
5050
}
5151
]
52-
}
52+
}

0 commit comments

Comments
 (0)