Is there a way to set arbitrary configuration properties in a Visual Studio project file from CMake?
As a concrete example I would like the following to appear in the generated project file:
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
There is VS_GLOBAL_<variable>, but this puts the variable in the global properties group, not in a configuration specific group.