• Robert Schmidt's avatar
    Add cmake option to select asn1c, and test asn1c parameters · fdb2abeb
    Robert Schmidt authored
    CMake now takes the option ASN1C_EXEC to select an asn1c to use for
    compilation. For instance, run with
    cmake .. -GNinja -DASN1C_EXEC=/opt/asn1c/bin/asn1c
    or
    ./build_oai --cmake-opt -DASN1C_EXEC=/opt/asn1c/bin/asn1c
    to select the alternative asn1c. For instance, this is important for the
    CI to allow to build multiple versions of OAI in parallel that might use
    different commits of OAI.
    
    Further, this patch introduces functionality to check for the support of
    asn1c options that we require, and alerts the user if they are missing,
    alongside a message of how to resolve the problem.
    fdb2abeb
CMakeLists.txt 956 Bytes