<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 24, 2014 at 6:51 PM, Aleix Pol <span dir="ltr"><<a href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Wed, Sep 24, 2014 at 3:55 PM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>On 09/22/2014 07:15 PM, Aleix Pol wrote:<br>
> {<br>
> version: "1.0",<br>
> targets: [...]<br>
> }<br>
<br>
</span>Yes.  The version number could either be maintained as its own<br>
thing, or just the CMake version number could be used.  Either way<br>
the Help/variable/CMAKE_OUTPUT_PROJECT_TARGETS.rst documentation<br>
should specify the format of each version.<br>
<br>
BTW, the phrase "output project targets" is not particularly<br>
clear without knowing the feature already.  Perhaps some other<br>
name like "CMAKE_EXPORT_IDE_METADATA" would be better?<br>
<span><br>
> I've never worked with those, but it sounds like it would make sense. What about:<br>
><br>
> {<br>
> version: ..<br>
> configurations: {<br>
> { name: "Debug", targets: [...] },<br>
> { name: "Release", targets: [...] }<br>
> }<br>
> }<br>
<br>
</span>Yes, something like that.  I think you meant to use [] rather than<br>
{} around the list of configurations.  In the case that there is<br>
only one configuration for the generator we should still use a<br>
list but have only one entry.<br></blockquote></div></div><div>Sure :)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span><font color="#888888"><br>
-Brad<br>
<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">Hi,</div><div class="gmail_extra">Here's another iteration of the patch [1].</div><div class="gmail_extra"><br></div><div class="gmail_extra">Basically adopts the possibility to move some information to depend on the configuration. Currently it's only showing the I source files, I guess location, directory and installed should be moved as well. Correct?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Aleix</div><div class="gmail_extra"><br></div><div class="gmail_extra">[1]</div><div class="gmail_extra">New patch: <a href="http://proli.net/meu/kdevelop/0001-cmake-Add-option-to-generate-target-metadata-for-IDE.patch" target="_blank">http://proli.net/meu/kdevelop/0001-cmake-Add-option-to-generate-target-metadata-for-IDE.patch</a><br></div><div class="gmail_extra">New output: <a href="http://proli.net/meu/kdevelop/ProjectTargets.json" target="_blank">http://proli.net/meu/kdevelop/ProjectTargets.json</a><br></div></div>
</blockquote></div><br></div><div class="gmail_extra">Bump.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I'm very interested in getting this in and iterating forward.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Any comments? How do changes get integrated?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Aleix</div></div>