cmake/Source/cmStandardIncludes.h

55 lines
1.3 KiB
C
Raw Normal View History

2016-10-30 18:24:19 +01:00
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
/**
* Include header files as a function of the build process, compiler,
* and operating system.
*/
#ifndef cmStandardIncludes_h
#define cmStandardIncludes_h
2009-11-14 01:56:15 +02:00
#include <cmConfigure.h>
2016-07-09 11:21:54 +02:00
2014-08-03 19:52:23 +02:00
// Provide fixed-size integer types.
2016-03-13 13:35:51 +01:00
#include <cm_kwiml.h>
2014-08-03 19:52:23 +02:00
2015-04-27 22:25:09 +02:00
#include <fstream>
#include <iomanip>
2016-07-09 11:21:54 +02:00
#include <iostream>
2015-04-27 22:25:09 +02:00
#include <sstream>
// we must have stl with the standard include style
#include <algorithm>
#include <functional>
2016-07-09 11:21:54 +02:00
#include <iterator>
#include <map>
#include <set>
2016-07-09 11:21:54 +02:00
#include <string>
#include <vector>
// include the "c" string header
#include <stdio.h>
#include <stdlib.h>
2016-07-09 11:21:54 +02:00
#include <string.h>
2016-07-09 11:21:54 +02:00
#if defined(_MSC_VER)
typedef unsigned short mode_t;
2015-12-03 18:43:53 +01:00
#else
2016-07-09 11:21:54 +02:00
#include <sys/types.h>
#endif
// use this class to shrink the size of symbols in .o files
// std::string is really basic_string<....lots of stuff....>
// when combined with a map or set, the symbols can be > 2000 chars!
#include <cmsys/String.hxx>
2016-07-09 11:21:54 +02:00
// typedef cmsys::String std::string;
/* Poison this operator to avoid common mistakes. */
2016-07-09 11:21:54 +02:00
extern void operator<<(std::ostream&, const std::ostringstream&);
2016-10-30 18:24:19 +01:00
#include "cmCustomCommandLines.h"
#include "cmDocumentationEntry.h"
#include "cmTargetLinkLibraryType.h"
#include "cmTypeMacro.h"
2016-03-13 13:35:51 +01:00
#endif