Debian Codegraph @

src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/tests/logging_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 #the purpose of these tests is to see that a LogError/LogInfo/LogLastError would compile under all switch combinations
5 #the tests will not recompile the complete c_shared_utility library, only the relevant parts. These tests only target Windows
6
7 if(${run_unittests})
8
9 foreach(no_logging_value ON OFF)
10 foreach(logerror_captures_stack_traces_value ON OFF)
11 foreach(use_etw_value OFF TRACELOGGING TRACELOGGING_WITH_CONSOLE)
12
13 add_subdirectory(minimal "min${no_logging_value}${logerror_captures_stack_traces_value}${use_etw_value}")
14
15 endforeach(use_etw_value)
16 endforeach(logerror_captures_stack_traces_value)
17 endforeach(no_logging_value)
18
19 endif()