CMake: Use RelWithDebInfo for Conda Windows Debug builds.
Python is not provided with debug libraries, so debug builds are not possible. Building as RelWithDebInfo will build debug information for the binary, while using the available release libraries.
This commit is contained in:
committed by
WandererFan
parent
1815941668
commit
0291603ffc
@@ -276,7 +276,13 @@
|
|||||||
"inherits": [
|
"inherits": [
|
||||||
"conda-debug",
|
"conda-debug",
|
||||||
"conda-windows"
|
"conda-windows"
|
||||||
]
|
],
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_BUILD_TYPE": {
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "RelWithDebInfo"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "conda-windows-release",
|
"name": "conda-windows-release",
|
||||||
|
|||||||
Reference in New Issue
Block a user