[CMake] Installing and Exporting for multiple configurations

Matthew Woehlke matthew.woehlke at kitware.com
Mon Apr 8 12:20:37 EDT 2013


On 2013-04-06 18:01, J Decker wrote:
> I see so the proper full path would be
>
>               get_property( existing_outname TARGET ${target} PROPERTY
> OUTPUT_NAME )
>               if( NOT existing_outname )
>               set( existing_outname ${target} )
>               endif( NOT existing_outname )
>
> DESTINATION
> lib${LIB_SUFFIX}/${CMAKE_{STATIC,SHARED}_LIBRARY_PREFIX}${existing_outname}${CMAKE_{STATIC,SHARED}_LIBRARY_SUFFIX.

Looks right.

-- 
Matthew



More information about the CMake mailing list