Debian Codegraph @

src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/tests/httpapiex_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 "httpapiex_ut being generated without HTTP support")
8 endif()
9
10 set(theseTestsName httpapiex_ut )
11
12 include_directories(${SHARED_UTIL_REAL_TEST_FOLDER})
13
14 generate_cppunittest_wrapper(${theseTestsName})
15
16 set(${theseTestsName}_c_files
17 ../../src/httpapiex.c
18 ../real_test_files/real_vector.c
19 ../real_test_files/real_crt_abstractions.c
20 )
21
22 set(${theseTestsName}_h_files
23 )
24
25 build_c_test_artifacts(${theseTestsName} ON "tests/azure_c_shared_utility_tests")
26
27 compile_c_test_artifacts_as(${theseTestsName} C99)