The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15371 
====================================================================== 
Reported By:                Daniele E. Domenichelli
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15371
Category:                   CMake
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-01-26 10:17 CET
Last Modified:              2015-01-26 10:17 CET
====================================================================== 
Summary:                    Different components for library and link using just
one install command
Description: 
When a library with a SOVERSION is created, the only way to install the library
and the links to the library with a different component is installing the target
twice using NAMELINK_SKIP and NAMELINK_ONLY. For example

  add_library(foo ${foo_SRCS})
  set_target_properties(foo PROPERTIES SOVERSION 1)
  install(TARGETS foo
          LIBRARY DESTINATION lib COMPONENT library NAMELINK_SKIP)
  install(TARGETS foo
          LIBRARY DESTINATION lib COMPONENT devel NAMELINK_ONLY)

This is redundant and not intuitive, it would be useful to be able to do this in
just one command, for example:

  install(TARGETS foo
          LIBRARY DESTINATION lib COMPONENT library
                                  NAMELINK_COMPONENT devel)


Additional Information: 
Mailing list thread here:
http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/12023
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-01-26 10:17 Daniele E. DomenichelliNew Issue                               
    
======================================================================

-- 

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