hunter_pick_schemeΒΆ

This command used to pick a build scheme for current project and called before hunter_download in project/<ProjectName>/hunter.cmake module:

hunter_pick_scheme(
    DEFAULT default_scheme_name # this scheme will be used by default
    IPHONEOS ios_scheme_name # this scheme will be used to build for iOS platform
    WINDOWS windows_scheme # this scheme will be used on windows
)

Examples:

# This is regular cmake project
hunter_pick_scheme(DEFAULT url_sha1_cmake)
# This is no-install (unpack only) project
hunter_pick_scheme(DEFAULT url_sha1_unpack)
# Boost bjam
hunter_pick_scheme(
    DEFAULT url_sha1_boost_library
    IPHONEOS url_sha1_boost_ios_library
)
# OpenSSL
hunter_pick_scheme(
    DEFAULT url_sha1_openssl
    IPHONEOS url_sha1_openssl_ios
    WINDOWS url_sha1_openssl_windows
)