diff options
author | Jose <jose@zeroc.com> | 2017-03-27 16:29:15 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-03-27 16:29:15 +0200 |
commit | bd1433e3cf77fe84d58085e44f1158d5cc26c23c (patch) | |
tree | 5bb2e845ff58ba6e8ba225a485865ecb6b95c24c /python/config/Ice.Python.props | |
parent | Fixed (ICE-7709) - Python memory allocator called without holding the GIL (diff) | |
download | ice-bd1433e3cf77fe84d58085e44f1158d5cc26c23c.tar.bz2 ice-bd1433e3cf77fe84d58085e44f1158d5cc26c23c.tar.xz ice-bd1433e3cf77fe84d58085e44f1158d5cc26c23c.zip |
Fix to build Python extension in Debug mode on Windows
Diffstat (limited to 'python/config/Ice.Python.props')
-rw-r--r-- | python/config/Ice.Python.props | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/config/Ice.Python.props b/python/config/Ice.Python.props index 3a617ef81e4..51908970e9a 100644 --- a/python/config/Ice.Python.props +++ b/python/config/Ice.Python.props @@ -3,5 +3,10 @@ <PropertyGroup Condition="'$(Configuration)' == ''"> <Configuration>Debug</Configuration> </PropertyGroup> + + <PropertyGroup Condition="'$(Configuration)' == 'Debug'"> + <UseDebugLibraries>true</UseDebugLibraries> + </PropertyGroup> + <Import Project="$(MSBuildThisFileDirectory)..\..\cpp\config\ice.cpp.props" /> </Project> |