| 1 |
#Copyright (c) Microsoft. All rights reserved. |
| 2 |
|
| 3 |
#this is CMakeLists.txt for macro_utils_int_tests |
| 4 |
#since every single other project (testrunnerswitcher, ctest, umock_c etc) uses macro_utils |
| 5 |
#it means that macro_utils has its own test infrastructure (cannot call into build_c_test_artifacts) |
| 6 |
|
| 7 |
include_directories(${MACRO_UTILS_INC_FOLDER}) |
| 8 |
|
| 9 |
set(macro_utils_int_tests_c_files |
| 10 |
mu_define_enum_2_without_invalid_test.c |
| 11 |
define_struct_test.c |
| 12 |
for_each_1_keep_2_test.c |
| 13 |
mu_eat_empty_args_test.c |
| 14 |
mu_count_array_items_test.c |
| 15 |
mu_define_enum_test.c |
| 16 |
mu_define_local_enum_test.c |
| 17 |
mu_define_enum_2_test.c |
| 18 |
mu_pri_enum_test.c |
| 19 |
main.c |
| 20 |
) |
| 21 |
|
| 22 |
set(macro_utils_int_tests_h_files |
| 23 |
test_helper.h |
| 24 |
${MACRO_UTILS_INC_FOLDER}/azure_macro_utils/macro_utils.h |
| 25 |
${MACRO_UTILS_INC_FOLDER}/azure_macro_utils/macro_utils_generated.h |
| 26 |
mu_eat_empty_args_test.h |
| 27 |
mu_define_enum_2_without_invalid_test.h |
| 28 |
define_struct_test.h |
| 29 |
for_each_1_keep_2_test.h |
| 30 |
mu_count_array_items_test.h |
| 31 |
mu_define_enum_test.h |
| 32 |
mu_define_local_enum_test.h |
| 33 |
mu_define_enum_2_test.h |
| 34 |
mu_pri_enum_test.h |
| 35 |
) |
| 36 |
|
| 37 |
add_executable(macro_utils_int_tests ${macro_utils_int_tests_c_files} ${macro_utils_int_tests_h_files}) |
| 38 |
|
| 39 |
add_test(NAME macro_utils_int_tests COMMAND macro_utils_int_tests) |