On Wed, Sep 24, 2014 at 6:51 PM, Aleix Pol <aleix...@kde.org> wrote: > On Wed, Sep 24, 2014 at 3:55 PM, Brad King <brad.k...@kitware.com> wrote: > >> On 09/22/2014 07:15 PM, Aleix Pol wrote: >> > { >> > version: "1.0", >> > targets: [...] >> > } >> >> Yes. The version number could either be maintained as its own >> thing, or just the CMake version number could be used. Either way >> the Help/variable/CMAKE_OUTPUT_PROJECT_TARGETS.rst documentation >> should specify the format of each version. >> >> BTW, the phrase "output project targets" is not particularly >> clear without knowing the feature already. Perhaps some other >> name like "CMAKE_EXPORT_IDE_METADATA" would be better? >> >> > I've never worked with those, but it sounds like it would make sense. >> What about: >> > >> > { >> > version: .. >> > configurations: { >> > { name: "Debug", targets: [...] }, >> > { name: "Release", targets: [...] } >> > } >> > } >> >> Yes, something like that. I think you meant to use [] rather than >> {} around the list of configurations. In the case that there is >> only one configuration for the generator we should still use a >> list but have only one entry. >> > Sure :) > > >> >> -Brad >> >> > Hi, > Here's another iteration of the patch [1]. > > 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? > > Aleix > > [1] > New patch: > http://proli.net/meu/kdevelop/0001-cmake-Add-option-to-generate-target-metadata-for-IDE.patch > New output: http://proli.net/meu/kdevelop/ProjectTargets.json >
Bump. I'm very interested in getting this in and iterating forward. Any comments? How do changes get integrated? Aleix
-- 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