• autoantwort's avatar
    Cmake static or shared (#1160) · e9243d4f
    autoantwort authored
    
    
    * cmake: build either static or shared libs
    
    * cmake: allow to build non-PIC static libs
    
    * fix typo
    
    * cmake: add ALIAS targets
    
    * cmake: link to OpenSSL imported targets
    
    CMake imported targets are more robust
    
    * turn ENABLE_EXAMPLES to a CMake option
    
    * fix typo
    
    * install pdb files if shared
    
    * fix hiredis_ssl-config file
    
    * Fix more targets
    
    * CMake knows when to enable CMAKE_POSITION_INDEPENDENT_CODE
    
    * Restore setting of /Z7
    
    * [ci] fix building of shared and static libs
    
    * Apply suggestions from code review
    Co-authored-by: default avatarBjorn Svensson <bjorn.a.svensson@est.tech>
    
    * Make it possible to change name of exported target
    
    ---------
    Co-authored-by: default avatarSpaceIm <30052553+SpaceIm@users.noreply.github.com>
    Co-authored-by: default avatarBjorn Svensson <bjorn.a.svensson@est.tech>
    e9243d4f
hiredis_ssl-config.cmake.in 400 Bytes