Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Source / kwsys / testTerminal.c
blob856b5cc44527f22a7291a7249f28898b25261a04
1 /*=========================================================================
3 Program: KWSys - Kitware System Library
4 Module: $RCSfile: testTerminal.c,v $
6 Copyright (c) Kitware, Inc., Insight Consortium. All rights reserved.
7 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notices for more information.
13 =========================================================================*/
14 #include "kwsysPrivate.h"
15 #include KWSYS_HEADER(Terminal.h)
17 /* Work-around CMake dependency scanning limitation. This must
18 duplicate the above list of headers. */
19 #if 0
20 # include "Terminal.h.in"
21 #endif
23 int testTerminal(int argc, char* argv[])
25 (void)argc;
26 (void)argv;
27 kwsysTerminal_cfprintf(kwsysTerminal_Color_ForegroundYellow |
28 kwsysTerminal_Color_BackgroundBlue |
29 kwsysTerminal_Color_AssumeTTY,
30 stdout, "Hello %s!", "World");
31 fprintf(stdout, "\n");
32 return 0;