forked from Azure/azure-sdk-for-android
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add samples into samples folders (Azure#352)
* Add samples into Sample folders Add ability to build the SDK without building samples -By default samples are built -To disable samples set AZ_SDK_C_NO_SAMPLES=1
- Loading branch information
1 parent
8895f4e
commit 3bfc7ee
Showing
10 changed files
with
54 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# SPDX-License-Identifier: MIT | ||
|
||
cmake_minimum_required (VERSION 3.12) | ||
|
||
project (az_keyvault_keys_samples LANGUAGES C) | ||
|
||
set(CMAKE_C_STANDARD 99) | ||
|
||
# make keys client example | ||
add_executable (keys_client_example src/keys_client_example.c) | ||
target_link_libraries(keys_client_example PRIVATE az_keyvault az_core az_core_internal az_curl) | ||
|
||
if (UNIX) | ||
target_link_libraries(keys_client_example PRIVATE m) | ||
endif() | ||
|
||
# TODO, Add tests for samples | ||
# add_test(NAME az_keyvault_test COMMAND az_keyvault_test) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# SPDX-License-Identifier: MIT | ||
|
||
cmake_minimum_required (VERSION 3.12) | ||
|
||
project (az_storage_blobs_samples LANGUAGES C) | ||
|
||
set(CMAKE_C_STANDARD 99) | ||
|
||
# make keys client example | ||
add_executable (blobs_client_example src/blobs_client_example.c) | ||
target_link_libraries(blobs_client_example PRIVATE az_storage_blobs az_core az_core_internal az_curl) | ||
|
||
if (UNIX) | ||
target_link_libraries(blobs_client_example PRIVATE m) | ||
endif() | ||
|
||
# TODO, Add tests for samples | ||
# add_test(NAME az_storage_blobs_samples_test COMMAND az_storage_blobs_samples_test) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.