ngompa / rpms / cmake

Forked from rpms/cmake 4 years ago
Clone

73d71f Sync Fedora macros for optional support for out-of-source builds

Authored and Committed by ngompa 4 years ago
    Sync Fedora macros for optional support for out-of-source builds
    
    These are synced from the version of these macros for Fedora 31/32,
    which default to in-source builds but support out-of-source builds
    when "%__cmake_in_source_build" is undefined.
    
    Additionally, this introduces the generic %cmake_build, %cmake_install,
    and %ctest macros for controlling a CMake build regardless of chosen
    backend.
    
    Reference: https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
    
        
file modified
+21 -1