I never did actually submit this bug.  Do you know if this is a problem for
VS 2013?

We are running into this more and more with chains of custom commands in
CMake being processed incorrectly by VS.  It's to the point we are going to
have to generate a separate configuration (e.g. nmake or makefile) just to
compile these rules.

On Tue, Mar 5, 2013 at 11:10 AM, Brad King <[email protected]> wrote:

> 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

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to