| 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 connectionstringparser_ut) |
| 7 |
|
| 8 |
generate_cppunittest_wrapper(${theseTestsName}) |
| 9 |
|
| 10 |
include_directories(${SHARED_UTIL_REAL_TEST_FOLDER}) |
| 11 |
|
| 12 |
set(${theseTestsName}_c_files |
| 13 |
../real_test_files/real_map.c |
| 14 |
../real_test_files/real_string_tokenizer.c |
| 15 |
../real_test_files/real_strings.c |
| 16 |
${SHARED_UTIL_SRC_FOLDER}/crt_abstractions.c |
| 17 |
${SHARED_UTIL_SRC_FOLDER}/connection_string_parser.c |
| 18 |
) |
| 19 |
|
| 20 |
set(${theseTestsName}_h_files |
| 21 |
../real_test_files/real_map.h |
| 22 |
../real_test_files/real_string_tokenizer.h |
| 23 |
../real_test_files/real_strings.h |
| 24 |
) |
| 25 |
|
| 26 |
build_c_test_artifacts(${theseTestsName} ON "tests/azure_c_shared_utility_tests") |
| 27 |
|
| 28 |
compile_c_test_artifacts_as(${theseTestsName} C99) |