2005-04-13 21:57:24 +04:00
|
|
|
#include "kwsysPrivate.h"
|
|
|
|
#include KWSYS_HEADER(stl/vector)
|
|
|
|
#include KWSYS_HEADER(ios/sstream)
|
|
|
|
#include KWSYS_HEADER(ios/iostream)
|
2003-12-23 19:03:33 +03:00
|
|
|
|
2005-04-14 00:46:09 +04:00
|
|
|
// Work-around CMake dependency scanning limitation. This must
|
|
|
|
// duplicate the above list of headers.
|
|
|
|
#if 0
|
|
|
|
# include "kwsys_stl_vector.h.in"
|
|
|
|
# include "kwsys_ios_sstream.h.in"
|
|
|
|
# include "kwsys_ios_iostream.h.in"
|
|
|
|
#endif
|
|
|
|
|
2003-12-23 19:03:33 +03:00
|
|
|
int main()
|
|
|
|
{
|
|
|
|
kwsys_ios::ostringstream ostr;
|
2006-12-14 19:41:51 +03:00
|
|
|
ostr << "Hello, World!";
|
2003-12-23 19:03:33 +03:00
|
|
|
kwsys_ios::cout << ostr.str() << kwsys_ios::endl;
|
|
|
|
return 0;
|
|
|
|
}
|