summaryrefslogtreecommitdiff
path: root/CMakeModules/config.h.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeModules/config.h.cmake')
-rw-r--r--CMakeModules/config.h.cmake80
1 files changed, 80 insertions, 0 deletions
diff --git a/CMakeModules/config.h.cmake b/CMakeModules/config.h.cmake
new file mode 100644
index 0000000..3b4e121
--- /dev/null
+++ b/CMakeModules/config.h.cmake
@@ -0,0 +1,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_