On 05/15/2014 04:33 AM, Nils Gladitz wrote:
> In the context of http://www.cmake.org/Bug/view.php?id=14911 I've been 
> thinking it would be nice if there were properties for installed files 
> like there are for source files.
> 
> For my purposes they would have to be exported for CPack (e.g. in 
> CPackConfig.cmake) similar to how test properties are exported through 
> CTestTestfile.cmake.

Here is a quick brainstorm:

Just like CTestTestfile for testing and cmake_install for installation,
perhaps we need a per-directory hierarchical cmake_package for CPack.
We could re-use source file properties.  When the install() command
is installing a file it can check for "CPACK_*" source file properties
and add them for generation into cmake_package.  In cmake_package we
could just use source file properties set on paths corresponding to
install tree locations.  I'm sure there will be some details to work
out for that.

-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/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to