Debian Codegraph @

Utilities/KWSys/testTerminal.c

raw
1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing#kwsys for details. */
3 #include "kwsysPrivate.h"
4 #include KWSYS_HEADER(Terminal.h)
5
6 /* Work-around CMake dependency scanning limitation. This must
7 duplicate the above list of headers. */
8 #if 0
9 # include "Terminal.h.in"
10 #endif
11
12 int testTerminal(int argc, char* argv[])
13 {
14 (void)argc;
15 (void)argv;
16 kwsysTerminal_cfprintf(kwsysTerminal_Color_ForegroundYellow |
17 kwsysTerminal_Color_BackgroundBlue |
18 kwsysTerminal_Color_AssumeTTY,
19 stdout, "Hello %s!", "World");
20 fprintf(stdout, "\n");
21 return 0;
22 }