On Sun, 15 Jun 2014 22:39:18 +0200 Artur Wieczorek wrote:
AW> > Unfortunately I already have a first problem: how can I
AW> > write wx_local.props now to use the appropriate version-dependent suffix
AW> > wxCompilerPrefix, i.e. vc100 or vc110 or vc120?
AW>
AW> Hi,
AW> You would need to put following tags in the local configuration file:
AW>
AW> <PropertyGroup Label="UserMacros">
AW> <wxCompilerPrefix Condition="'$(VisualStudioVersion)' ==
AW> '10.0'">vc100</wxCompilerPrefix>
AW> <wxCompilerPrefix Condition="'$(VisualStudioVersion)' ==
AW> '11.0'">vc110</wxCompilerPrefix>
AW> <wxCompilerPrefix Condition="'$(VisualStudioVersion)' ==
AW> '12.0'">vc120</wxCompilerPrefix>
AW> </PropertyGroup>
Unfortunately this doesn't seem to work for me. I have:
% cat build/msw/wx_local.props
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="
http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="UserMacros">
<wxCompilerPrefix Condition="'$(VisualStudioVersion)' == '10.0'">vc100</wxCompilerPrefix>
<wxCompilerPrefix Condition="'$(VisualStudioVersion)' == '11.0'">vc110</wxCompilerPrefix>
<wxCompilerPrefix Condition="'$(VisualStudioVersion)' == '12.0'">vc120</wxCompilerPrefix>
</PropertyGroup>
</Project>
But the prefix doesn't seem to be taken into account. If I open the VS
2010 solution, I don't even know how to check its value in the UI but
starting to build it uses "vc_mswud" directory and not "vc100_mswud". And
if I open the 2013 solution, I do see wx_local in the property manager, but
viewing its properties doesn't show anything at all in the "User Macros".
And this even if I remove the conditions.
Any idea about what could I be doing wrong?
Thanks again,
VZ