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.
-Brad
--
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