#   @license
#   -------------------------------------------------------------------------
#   Copyright (C) 2015-2021 Virgil Security, Inc.
#
#   All rights reserved.
#
#   Redistribution and use in source and binary forms, with or without
#   modification, are permitted provided that the following conditions are
#   met:
#
#       (1) Redistributions of source code must retain the above copyright
#       notice, this list of conditions and the following disclaimer.
#
#       (2) Redistributions in binary form must reproduce the above copyright
#       notice, this list of conditions and the following disclaimer in
#       the documentation and/or other materials provided with the
#       distribution.
#
#       (3) Neither the name of the copyright holder nor the names of its
#       contributors may be used to endorse or promote products derived from
#       this software without specific prior written permission.
#
#   THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR
#   IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
#   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
#   DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
#   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
#   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
#   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
#   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
#   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
#   IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
#   POSSIBILITY OF SUCH DAMAGE.
#
#   Lead Maintainer: Virgil Security Inc. <support@virgilsecurity.com>
#   -------------------------------------------------------------------------

#   @warning
#   -------------------------------------------------------------------------
#   This file is fully generated by script 'cmake_files_codegen.gsl'.
#   It can be changed temporary for debug purposes only.
#   -------------------------------------------------------------------------
#   @end


include_guard()

if(NOT TARGET phe)
    message(FATAL_ERROR "Expected target 'phe' to be defined first.")
endif()

target_compile_definitions(phe
        PUBLIC
            $<BUILD_INTERFACE:VSCE_INTERNAL_BUILD>
            "VSCE_SHARED_LIBRARY=$<BOOL:${BUILD_SHARED_LIBS}>"
            "VSCE_LIBRARY=$<BOOL:${VSCE_LIBRARY}>"
            "VSCE_MULTI_THREADING=$<BOOL:${VSCE_MULTI_THREADING}>"
            "VSCE_ERROR=$<BOOL:${VSCE_ERROR}>"
            "VSCE_PHE_COMMON=$<BOOL:${VSCE_PHE_COMMON}>"
            "VSCE_PHE_HASH=$<BOOL:${VSCE_PHE_HASH}>"
            "VSCE_PROOF_GENERATOR=$<BOOL:${VSCE_PROOF_GENERATOR}>"
            "VSCE_PHE_PROOF_GENERATOR=$<BOOL:${VSCE_PHE_PROOF_GENERATOR}>"
            "VSCE_PROOF_VERIFIER=$<BOOL:${VSCE_PROOF_VERIFIER}>"
            "VSCE_PHE_PROOF_VERIFIER=$<BOOL:${VSCE_PHE_PROOF_VERIFIER}>"
            "VSCE_PHE_SERVER=$<BOOL:${VSCE_PHE_SERVER}>"
            "VSCE_PHE_CLIENT=$<BOOL:${VSCE_PHE_CLIENT}>"
            "VSCE_PHE_CIPHER=$<BOOL:${VSCE_PHE_CIPHER}>"
            "VSCE_UOKMS_PROOF_GENERATOR=$<BOOL:${VSCE_UOKMS_PROOF_GENERATOR}>"
            "VSCE_UOKMS_PROOF_VERIFIER=$<BOOL:${VSCE_UOKMS_PROOF_VERIFIER}>"
            "VSCE_UOKMS_CLIENT=$<BOOL:${VSCE_UOKMS_CLIENT}>"
            "VSCE_UOKMS_SERVER=$<BOOL:${VSCE_UOKMS_SERVER}>"
            "VSCE_UOKMS_WRAP_ROTATION=$<BOOL:${VSCE_UOKMS_WRAP_ROTATION}>"
        )
