Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seperate dev components from runtime components in bcm_install_targets #10

Open
pfultz2 opened this issue Sep 21, 2017 · 0 comments
Open

Comments

@pfultz2
Copy link
Member

pfultz2 commented Sep 21, 2017

Something like:

set_target_properties(${EXPORT_TARGETS} PROPERTIES
  DEBUG_POSTFIX "-d"
  SO_VERSION ${EXPORT_VERSION}
  VERSION ${EXPORT_VERSION}
  )

install(TARGETS ${EXPORT_TARGETS} EXPORT ${EXPORT_SET}
  ARCHIVE
    DESTINATION "${CMAKE_INSTALL_LIBDIR}"
    COMPONENT ${EXPORT_COMPONENT}_DEV
  LIBRARY NAMELINK_ONLY
    DESTINATION "${CMAKE_INSTALL_LIBDIR}"
    COMPONENT ${EXPORT_COMPONENT}_DEV
  LIBRARY CONFIGURATIONS Debug NAMELINK_SKIP
    DESTINATION "${CMAKE_INSTALL_LIBDIR}"
    COMPONENT ${EXPORT_COMPONENT}_DBG
  LIBRARY CONFIGURATIONS Release NAMELINK_SKIP
    DESTINATION "${CMAKE_INSTALL_LIBDIR}"
    COMPONENT ${EXPORT_COMPONENT}
  RUNTIME
    DESTINATION "${CMAKE_INSTALL_BINDIR}"
    COMPONENT ${EXPORT_COMPONENT}
  INCLUDES
    DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
  )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant