forked from Azure/azure-sdk-for-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
27 lines (20 loc) · 707 Bytes
/
CMakeLists.txt
File metadata and controls
27 lines (20 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
cmake_minimum_required (VERSION 3.13)
project (attestation-policy LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED True)
macro (define_sample samplename)
add_executable (
attestation-${samplename}
${samplename}.cpp
cryptohelpers.hpp
)
CREATE_PER_SERVICE_TARGET_BUILD_FOR_SAMPLE(attestation attestation-${samplename} FALSE)
target_link_libraries(attestation-${samplename} PRIVATE azure-security-attestation azure-identity get-env-helper)
endmacro()
DEFINE_SAMPLE(get_policy)
DEFINE_SAMPLE(set_policy)
DEFINE_SAMPLE(reset_policy)
DEFINE_SAMPLE(set_sealed_policy)
DEFINE_SAMPLE(reset_sealed_policy)