Debian Codegraph @

src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/tests/httpapiexsas_ut/CMakeLists.txt

raw
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 if(NOT ${use_http})
7 message(FATAL_ERROR "httpapiexsas_ut being generated without HTTP support")
8 endif()
9
10 set(theseTestsName httpapiexsas_ut)
11
12 generate_cppunittest_wrapper(${theseTestsName})
13
14 set(${theseTestsName}_c_files
15 ../../src/httpapiexsas.c
16 )
17
18 set(${theseTestsName}_h_files
19 )
20
21 build_c_test_artifacts(${theseTestsName} ON "tests/azure_c_shared_utility_tests")
22
23 compile_c_test_artifacts_as(${theseTestsName} C99)