cmStandardIncludes.h 1.3 KB
Newer Older
1 2
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
3 4 5 6
/**
 * Include header files as a function of the build process, compiler,
 * and operating system.
 */
7 8 9
#ifndef cmStandardIncludes_h
#define cmStandardIncludes_h

10
#include <cmConfigure.h>
11

12
// Provide fixed-size integer types.
13
#include <cm_kwiml.h>
14

15 16
#include <fstream>
#include <iomanip>
17
#include <iostream>
18
#include <sstream>
19

20
// we must have stl with the standard include style
21 22
#include <algorithm>
#include <functional>
23
#include <iterator>
24
#include <map>
25
#include <set>
26 27
#include <string>
#include <vector>
28

29
// include the "c" string header
Ken Martin's avatar
Ken Martin committed
30
#include <stdio.h>
31
#include <stdlib.h>
32
#include <string.h>
Brad King's avatar
Brad King committed
33

34
#if defined(_MSC_VER)
35
typedef unsigned short mode_t;
36
#else
37
#include <sys/types.h>
38 39
#endif

Bill Hoffman's avatar
Bill Hoffman committed
40
// use this class to shrink the size of symbols in .o files
Bill Hoffman's avatar
Bill Hoffman committed
41 42
// std::string is really basic_string<....lots of stuff....>
// when combined with a map or set, the symbols can be > 2000 chars!
43
#include <cmsys/String.hxx>
44
// typedef cmsys::String std::string;
45

46
/* Poison this operator to avoid common mistakes.  */
47
extern void operator<<(std::ostream&, const std::ostringstream&);
48

49
#include "cmCustomCommandLines.h"
50
#include "cmDocumentationEntry.h"
51
#include "cmTargetLinkLibraryType.h"
52

53
#endif