File: config.h.cmake

package info (click to toggle)
kicad 9.0.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 770,320 kB
  • sloc: cpp: 961,692; ansic: 121,001; xml: 66,428; python: 18,387; sh: 1,010; awk: 301; asm: 292; makefile: 227; javascript: 167; perl: 10
file content (121 lines) | stat: -rw-r--r-- 3,731 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
// Do not modify this file, it was automatically generated by CMake.

#ifndef CONFIG_H_
#define CONFIG_H_

#cmakedefine HAVE_STRCASECMP

#cmakedefine HAVE_STRNCASECMP

#cmakedefine HAVE_STRTOKS
#ifdef HAVE_STRTOKS
// strtok_s is the actual C11 standard rather than posix strtok_r
// but its also an optional standard, MSVC supports it, so alias it
#define HAVE_STRTOKR
#define strtok_r strtok_s
#else
#cmakedefine HAVE_STRTOKR       // spelled oddly to differ from wx's similar test
#endif

// Handle platform differences in math.h
#cmakedefine HAVE_MATH_H

// Handle platform differences in C++ cmath.
#cmakedefine HAVE_CXX_CMATH

#cmakedefine HAVE_CMATH_ASINH

#cmakedefine HAVE_CMATH_ACOSH

#cmakedefine HAVE_CMATH_ATANH

#cmakedefine HAVE_CMATH_ISINF

#if !defined( HAVE_CLOCK_GETTIME )
#cmakedefine HAVE_CLOCK_GETTIME
#endif

#cmakedefine HAVE_GETTIMEOFDAY_FUNC

#cmakedefine MALLOC_IN_STDLIB_H

#if !defined( MALLOC_IN_STDLIB_H )
#include <malloc.h>
#endif

#cmakedefine HAVE_ISO646_H

#if defined( HAVE_ISO646_H )
#include <iso646.h>
#endif

#if !defined( HAVE_STRCASECMP )
#define strcasecmp stricmp
#endif

#if !defined( HAVE_STRNCASECMP )
#define strncasecmp strnicmp
#endif

// Does the compiler support the -Wunused-const-variable warning
#cmakedefine HAVE_WUNUSED_CONST_VARIABLE

// Does the compiler support the -Wimplicit-int-float-conversion warning
#cmakedefine HAVE_WIMPLICIT_FLOAT_CONVERSION

// Does the compiler support the -Winconsistent-missing-override
#cmakedefine HAVE_WINCONSISTENT_MISSING_OVERRIDE

// Use Posix getc_unlocked() instead of getc() when it's available.
#cmakedefine HAVE_FGETC_NOLOCK

// Warning!!!  Using wxGraphicContext for rendering is experimental.
#cmakedefine USE_WX_GRAPHICS_CONTEXT    1

/// The legacy file format revision of the *.brd file created by this build
#define LEGACY_BOARD_FILE_VERSION       2

/// The install prefix defined during CMake configuration or fall back to CMAKE_INSTALL_PREFIX.
#define DEFAULT_INSTALL_PATH            "@DEFAULT_INSTALL_PATH@"

/// The wxPython version found during configuration.
#if defined( KICAD_SCRIPTING_WXPYTHON )
#define WXPYTHON_VERSION                "@WXPYTHON_VERSION@"
#endif

#define PYTHON_VERSION_MAJOR             @PYTHON_VERSION_MAJOR@
#define PYTHON_VERSION_MINOR             @PYTHON_VERSION_MINOR@

/// A file extension with a leading '.' is a suffix, and this one is used on
/// top level program modules which implement the KIFACE.
#define KIFACE_SUFFIX                   "@KIFACE_SUFFIX@"
#define KIFACE_PREFIX                   "@KIFACE_PREFIX@"

/// Allows scripts install directory to be referenced by the program code.
#define PYTHON_DEST                     "@PYTHON_DEST@"

#define PYTHON_SITE_PACKAGE_PATH        "@PYTHON_SITE_PACKAGE_PATH@"

/// Allows scripts install directory to be referenced by the program code.
#define KICAD_DATA                      "@KICAD_DATA@"

/// Allows KiCad stock EDA library data (templates, symbols, footprints, 3dmodels)
/// directory to be referenced by the program code.
#define KICAD_LIBRARY_DATA              "@KICAD_LIBRARY_DATA@"

/// Allows documentation install directory to be referenced by the program code.
#define KICAD_DOCS                      "@KICAD_DOCS@"

// Plugins directory
#define KICAD_PLUGINDIR                 "@CMAKE_INSTALL_FULL_LIBDIR@"

/// ngspice version string detected by pkg-config when available.
#cmakedefine NGSPICE_BUILD_VERSION      "@NGSPICE_BUILD_VERSION@"

/// When pkg-config config is not available for ngspice, use ngspice/config.h for version.
#cmakedefine NGSPICE_HAVE_CONFIG_H

/// Path to the python executable that should be used by KiCad
#define PYTHON_EXECUTABLE               "@PYTHON_EXECUTABLE@"

#endif  // CONFIG_H_