Open Quantum Safe Library Documentation: CMakeLists

# SPDX-License-Identifier: MIT

# This file was generated by
# scripts/copy_from_upstream/copy_from_upstream.py

set(_CROSS_OBJS "")

if(OQS_ENABLE_SIG_cross_rsdp_128_balanced)
    add_library(cross_rsdp_128_balanced_clean OBJECT sig_cross_rsdp_128_balanced.c upcross_cross-rsdp-128-balanced_clean/CROSS.c upcross_cross-rsdp-128-balanced_clean/csprng_hash.c upcross_cross-rsdp-128-balanced_clean/merkle.c upcross_cross-rsdp-128-balanced_clean/pack_unpack.c upcross_cross-rsdp-128-balanced_clean/seedtree.c upcross_cross-rsdp-128-balanced_clean/sign.c)
    target_include_directories(cross_rsdp_128_balanced_clean PRIVATE ${CMAKE_CURRENT_LIST_DIR}/upcross_cross-rsdp-128-balanced_clean)
    target_include_directories(cross_rsdp_128_balanced_clean PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    set(_CROSS_OBJS ${_CROSS_OBJS} $<TARGET_OBJECTS:cross_rsdp_128_balanced_clean>)
endif()

if(OQS_ENABLE_SIG_cross_rsdp_128_balanced_avx2)
    add_library(cross_rsdp_128_balanced_avx2 OBJECT upcross_cross-rsdp-128-balanced_avx2/CROSS.c upcross_cross-rsdp-128-balanced_avx2/csprng_hash.c upcross_cross-rsdp-128-balanced_avx2/merkle.c upcross_cross-rsdp-128-balanced_avx2/pack_unpack.c upcross_cross-rsdp-128-balanced_avx2/seedtree.c upcross_cross-rsdp-128-balanced_avx2/sign.c)
    target_include_directories(cross_rsdp_128_balanced_avx2 PRIVATE ${CMAKE_CURRENT_LIST_DIR}/upcross_cross-rsdp-128-balanced_avx2)
    target_include_directories(cross_rsdp_128_balanced_avx2 PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    target_compile_options(cross_rsdp_128_balanced_avx2 PRIVATE -mavx2)
    set(_CROSS_OBJS ${_CROSS_OBJS} $<TARGET_OBJECTS:cross_rsdp_128_balanced_avx2>)
endif()

if(OQS_ENABLE_SIG_cross_rsdp_128_fast)
    add_library(cross_rsdp_128_fast_clean OBJECT sig_cross_rsdp_128_fast.c upcross_cross-rsdp-128-fast_clean/CROSS.c upcross_cross-rsdp-128-fast_clean/csprng_hash.c upcross_cross-rsdp-128-fast_clean/merkle.c upcross_cross-rsdp-128-fast_clean/pack_unpack.c upcross_cross-rsdp-128-fast_clean/seedtree.c upcross_cross-rsdp-128-fast_clean/sign.c)
    target_include_directories(cross_rsdp_128_fast_clean PRIVATE ${CMAKE_CURRENT_LIST_DIR}/upcross_cross-rsdp-128-fast_clean)
    target_include_directories(cross_rsdp_128_fast_clean PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    set(_CROSS_OBJS ${_CROSS_OBJS} $<TARGET_OBJECTS:cross_rsdp_128_fast_clean>)
endif()

if(OQS_ENABLE_SIG_cross_rsdp_128_fast_avx2)
    add_library(cross_rsdp_128_fast_avx2 OBJECT upcross_cross-rsdp-128-fast_avx2/CROSS.c upcross_cross-rsdp-128-fast_avx2/csprng_hash.c upcross_cross-rsdp-128-fast_avx2/merkle.c upcross_cross-rsdp-128-fast_avx2/pack_unpack.c upcross_cross-rsdp-128-fast_avx2/seedtree.c upcross_cross-rsdp-128-fast_avx2/sign.c)
    target_include_directories(cross_rsdp_128_fast_avx2 PRIVATE ${CMAKE_CURRENT_LIST_DIR}/upcross_cross-rsdp-128-fast_avx2)
    target_include_directories(cross_rsdp_128_fast_avx2 PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    target_compile_options(cross_rsdp_128_fast_avx2 PRIVATE -mavx2)
    set(_CROSS_OBJS ${_CROSS_OBJS} $<TARGET_OBJECTS:cross_rsdp_128_fast_avx2>)
endif()

if(OQS_ENABLE_SIG_cross_rsdp_128_small)
    add_library(cross_rsdp_128_small_clean OBJECT sig_cross_rsdp_128_small.c upcross_cross-rsdp-128-small_clean/CROSS.c upcross_cross-rsdp-128-small_clean/csprng_hash.c upcross_cross-rsdp-128-small_clean/merkle.c upcross_cross-rsdp-128-small_clean/pack_unpack.c upcross_cross-rsdp-128-small_clean/seedtree.c upcross_cross-rsdp-128-small_clean/sign.c)
    target_include_directories(cross_rsdp_128_small_clean PRIVATE ${CMAKE_CURRENT_LIST_DIR}/upcross_cross-rsdp-128-small_clean)
    target_include_directories(cross_rsdp_128_small_clean PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    set(_CROSS_OBJS ${_CROSS_OBJS} $<TARGET_OBJECTS:cross_rsdp_128_small_clean>)
endif()

if(OQS_ENABLE_SIG_cross_rsdp_128_small_avx2)
    add_library(cross_rsdp_128_small_avx2 OBJECT upcross_cross-rsdp-128-small_avx2/CROSS.c upcross_cross-rsdp-128-small_avx2/csprng_hash.c upcross_cross-rsdp-128-small_avx2/merkle.c upcross_cross-rsdp-128-small_avx2/pack_unpack.c upcross_cross-rsdp-128-small_avx2/seedtree.c upcross_cross-rsdp-128-small_avx2/sign.c)
    target_include_directories(cross_rsdp_128_small_avx2 PRIVATE ${CMAKE_CURRENT_LIST_DIR}/upcross_cross-rsdp-128-small_avx2)
    target_include_directories(cross_rsdp_128_small_avx2 PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    target_compile_options(cross_rsdp_128_small_avx2 PRIVATE -mavx2)
    set(_CROSS_OBJS ${_CROSS_OBJS} $<TARGET_OBJECTS:cross_rsdp_128_small_avx2>)
endif()

if(OQS_ENABLE_SIG_cross_rsdp_192_balanced)
    add_library(cross_rsdp_192_balanced_clean OBJECT sig_cross_rsdp_192_balanced.c upcross_cross-rsdp-192-balanced_clean/CROSS.c upcross_cross-rsdp-192-balanced_clean/csprng_hash.c upcross_cross-rsdp-192-balanced_clean/merkle.c upcross_cross-rsdp-192-balanced_clean/pack_unpack.c upcross_cross-rsdp-192-balanced_clean/seedtree.c upcross_cross-rsdp-192-balanced_clean/sign.c)
    target_include_directories(cross_rsdp_192_balanced_clean PRIVATE ${CMAKE_CURRENT_LIST_DIR}/upcross_cross-rsdp-192-balanced_clean)
    target_include_directories(cross_rsdp_192_balanced_clean PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    set(_CROSS_OBJS ${_CROSS_OBJS} $<TARGET_OBJECTS:cross_rsdp_192_balanced_clean>)
endif()

if(OQS_ENABLE_SIG_cross_rsdp_192_balanced_avx2)
    add_library(cross_rsdp_192_balanced_avx2 OBJECT upcross_cross-rsdp-192-balanced_avx2/CROSS.c upcross_cross-rsdp-192-balanced_avx2/csprng_hash.c upcross_cross-rsdp-192-balanced_avx2/merkle.c upcross_cross-rsdp-192-balanced_avx2/pack_unpack.c upcross_cross-rsdp-192-balanced_avx2/seedtree.c upcross_cross-rsdp-192-balanced_avx2/sign.c)
    target_include_directories(cross_rsdp_192_balanced_avx2 PRIVATE ${CMAKE_CURRENT_LIST_DIR}/upcross_cross-rsdp-192-balanced_avx2)
    target_include_directories(cross_rsdp_192_balanced_avx2 PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    target_compile_options(cross_rsdp_192_balanced_avx2 PRIVATE -mavx2)
    set(_CROSS_OBJS ${_CROSS_OBJS} $<TARGET_OBJECTS:cross_rsdp_192_balanced_avx2>)
endif()

if(OQS_ENABLE_SIG_cross_rsdp_192_fast)
    add_library(cross_rsdp_192_fast_clean OBJECT sig_cross_rsdp_192_fast.c upcross_cross-rsdp-192-fast_clean/CROSS.c upcross_cross-rsdp-192-fast_clean/csprng_hash.c upcross_cross-rsdp-192-fast_clean/merkle.c upcross_cross-rsdp-192-fast_clean/pack_unpack.c upcross_cross-rsdp-192-fast_clean/seedtree.c upcross_cross-rsdp-192-fast_clean/sign.c)
    target_include_directories(cross_rsdp_192_fast_clean PRIVATE ${CMAKE_CURRENT_LIST_DIR}/upcross_cross-rsdp-192-fast_clean)
    target_include_directories(cross_rsdp_192_fast_clean PRIVATE ${PROJECT_SOURCE_DIR}/src/common/pqclean_shims)
    set(_CROSS_OBJS ${_CROSS_OBJS} $<TARGET_OBJECTS:cross_rsdp_192_fast_clean>)
endif()

if(OQS_ENABLE_SIG_cross_rsdp_192_fast_avx2)
    add_library(cross_rsdp_192_fast_avx2 OBJECT upcros