summaryrefslogtreecommitdiff
path: root/CMakeModules/config.h.cmake
blob: 3b4e121c617a163754b15244de802c13baae2e52 (plain)
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
// 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_STRTOKR       // spelled odly to differ from wx's similar test

// 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

#cmakedefine HAVE_CLOCK_GETTIME

#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 stricmp strcasecmp
#endif

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

// 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

#cmakedefine USE_IMAGES_IN_MENUS        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

/// When defined, build the GITHUB_PLUGIN for pcbnew.
#cmakedefine BUILD_GITHUB_PLUGIN

/// When defined, use KIWAY and KIFACE DSOs
#cmakedefine USE_KIWAY_DLLS

/// 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                   wxT( "@KIFACE_SUFFIX@" )
#define KIFACE_PREFIX                   wxT( "@KIFACE_PREFIX@" )

#endif  // CONFIG_H_