On 03/05/2013 10:27 AM, Brad King wrote:
> On 12/04/2012 07:30 PM, James Bigler wrote:
>> Is there something CMake can do to correct this error/bug with VS 2010?
>
> I've narrowed this case down to a single hand-written test.vcxproj
> file with no connection to CMake. Here is a session:
This also happens with VS 2012. I modified the .vcxproj file with
the patch below and ran msbuild with the "/p:VisualStudioVersion=11.0"
option. Otherwise the session is the same.
-Brad
@@ -12,6 +12,7 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"
Label="Configuration">
<ConfigurationType>Utility</ConfigurationType>
+ <PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<PropertyGroup>
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers