azure-sdk-for-cpp/sdk/attestation/azure-security-attestation/samples/basic-operations/CMakeLists.txt
Rick Winter b54d509c72
Use standard syntax for MIT license (#4786)
* Use standard syntax for MIT license

* Stop appending "All rights reserved"
2023-07-12 22:37:36 -07:00

25 lines
682 B
CMake

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
cmake_minimum_required (VERSION 3.13)
project (attestation-basic-operations LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED True)
macro (define_sample samplename)
add_executable (
attestation-${samplename}
${samplename}.cpp)
CREATE_PER_SERVICE_TARGET_BUILD_FOR_SAMPLE(attestation attestation-${samplename})
target_link_libraries(attestation-${samplename} PRIVATE azure-security-attestation azure-identity get-env-helper)
endmacro()
define_sample(create_client)
define_sample(create_admin_client)
define_sample(get_open-id_metadata)
define_sample(get_signing_certificates)