2016-09-10 02:52:40 +03:00
|
|
|
#Copyright (c) Microsoft. All rights reserved.
|
|
|
|
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
|
2021-08-13 04:25:51 +03:00
|
|
|
cmake_minimum_required (VERSION 3.5)
|
2016-09-10 02:52:40 +03:00
|
|
|
|
2017-04-28 19:50:41 +03:00
|
|
|
function(add_sample_directory whatIsBuilding)
|
|
|
|
add_subdirectory(${whatIsBuilding})
|
2016-09-29 23:12:48 +03:00
|
|
|
|
2017-04-28 19:50:41 +03:00
|
|
|
set_target_properties(${whatIsBuilding}
|
|
|
|
PROPERTIES
|
|
|
|
FOLDER "C-Utility_Samples")
|
|
|
|
endfunction()
|
2016-09-29 23:12:48 +03:00
|
|
|
|
2017-04-28 20:04:08 +03:00
|
|
|
add_sample_directory(iot_c_utility)
|
|
|
|
|
2016-09-29 23:12:48 +03:00
|
|
|
if (NOT ("${ARCHITECTURE}" STREQUAL "ARM"))
|
2017-04-28 19:50:41 +03:00
|
|
|
add_sample_directory(socketio_connect)
|
|
|
|
add_sample_directory(tlsio_connect)
|
2016-09-29 23:12:48 +03:00
|
|
|
endif()
|