On 2013-06-28 09:06, Stephen Kelly wrote:
Brad King wrote:
Perhaps the policy could also disallow the
APPEND mode altogether.  IIRC I've participated in discussion
in the past about how APPEND is a bad approach anyway.

I've never used it, but then I've never used export() except in unit tests
of it either :). I don't think preserving the APPEND functionality is
expensive.

Do you not produce a fooConfig.cmake with export targets for your build directories? :-)

Projects I work on usually make two fooConfig.cmake's; one to be installed, and one that lets other projects use the project from its build directory. Both use exported targets, via install(EXPORT) and export() respectively.

--
Matthew

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to