| 1 |
#Copyright (c) Microsoft. All rights reserved. |
| 2 |
#Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| 3 |
|
| 4 |
cmake_minimum_required (VERSION 3.5) |
| 5 |
|
| 6 |
function(add_sample_directory whatIsBuilding) |
| 7 |
add_subdirectory(${whatIsBuilding}) |
| 8 |
|
| 9 |
set_target_properties(${whatIsBuilding} |
| 10 |
PROPERTIES |
| 11 |
FOLDER "C-Utility_Samples") |
| 12 |
endfunction() |
| 13 |
|
| 14 |
add_sample_directory(iot_c_utility) |
| 15 |
|
| 16 |
if (NOT ("${ARCHITECTURE}" STREQUAL "ARM")) |
| 17 |
add_sample_directory(socketio_connect) |
| 18 |
add_sample_directory(tlsio_connect) |
| 19 |
endif() |