On 03/02/2015 09:10 PM, Aleix Pol wrote:
> I created a new version of the patch:
> http://proli.net/meu/kdevelop/0001-cmake-Add-option-to-generate-target-metadata-for-IDE-v2.patch

Thanks.

> Samples:
> LLVM: https://paste.kde.org/pelr1ditp
> A small random KDE project: https://paste.kde.org/pgkbecv5p

The "location" values need to be inside the "configs" elements because
they can vary with the configuration in multi-config generators.
Also the name "location" may not be specific enough.  Some targets
may have multiple output files (e.g. .dll, .lib).  See the breakdown
of $<TARGET*FILE:...> generator expressions:

 
http://www.cmake.org/cmake/help/v3.2/manual/cmake-generator-expressions.7.html#informational-expressions

Some set of values like that will be more useful.

If the the "directory" value is GetCurrentOutputDirectory, the
build tree location of the project file, then that does not need
to be per-configuration.  In that case perhaps the name should be
something like "build_directory" or "project_directory".

Thanks,
-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

Reply via email to