[CMake] Request for added script intelligence

J Decker d3ck0r at gmail.com
Mon Sep 8 17:18:50 EDT 2014


Can something like ...

SET( CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP 1 )
if( ${CMAKE_BUILD_TYPE} MATCHES "[dD][eE][bB][uU][gG]" )
SET( CMAKE_INSTALL_DEBUG_LIBRARIES 1 )
SET( CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY 1 )
endif( ${CMAKE_BUILD_TYPE} MATCHES "[dD][eE][bB][uU][gG]" )

INCLUDE(InstallRequiredSystemLibraries)
INSTALL( FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION
${BINARY_OUTPUT_DIR} )


be added to 'InstallRequiredSystemLibraries'
Or what is the appropriate variable instead of CMAKE_BUILD_TYPE to use for
parallel builds?  In any case, can some intelligence for selecting to
install debug system libraries instead of just release be added?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140908/d7ac4ee6/attachment.html>


More information about the CMake mailing list