Debian Codegraph @

src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/tests/template_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 set(theseTestsName template_ut)
7
8 generate_cppunittest_wrapper(${theseTestsName})
9
10 set(${theseTestsName}_c_files
11 ##
12 # Include all target files that you need to execute the test.
13 # ../../adapters/<myTestOnAdapters>.c
14 # ../../src/<myTestOnSRC>.c
15 ##
16 target/target.c
17 )
18
19 set(${theseTestsName}_h_files
20 ##
21 # Include all headers that you need to execute the test. Normally we don't need any.
22 ##
23 )
24
25 build_c_test_artifacts(${theseTestsName} ON "tests/azure_c_shared_utility_tests")
26
27 compile_c_test_artifacts_as(${theseTestsName} C99)