[cmake-developers] Strange VS output file field
James Bigler
jamesbigler at gmail.com
Tue Aug 9 18:19:11 EDT 2011
I recently switched to 2.8.5 and noticed something strange.
I have several files that build into a Debug|Release agnostic place. If I
build it in one then switch to the other the files don't regenerate, because
the build rule has been satisfied.
With CMake 2.8.5 and VS 2010 I noticed something strange. It wanted to
build the files in both debug and release. I then looked at the vsproj
files and I noticed this:
<Outputs
Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">C:\code\build-32-vs10-c40\lib\myfile_build.txt;%(Outputs)</Outputs>
%(Outputs)??? Why is that in there. If I manually remove $(Outputs) then
it stops rebuilding my files.
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20110809/cd1da95c/attachment.html>
More information about the cmake-developers
mailing list