kicad/cmake/config.h.cmake

122 lines
3.6 KiB
CMake
Raw Permalink Normal View History

// Do not modify this file, it was automatically generated by CMake.
2011-12-15 02:24:52 +00:00
#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
2020-04-03 17:01:01 +00:00
#if !defined( HAVE_CLOCK_GETTIME )
#cmakedefine HAVE_CLOCK_GETTIME
2020-04-03 17:01:01 +00:00
#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
2011-12-15 02:24:52 +00:00
/// 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@
2014-02-03 19:26:18 +00:00
/// 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@"
2014-02-03 19:26:18 +00:00
/// 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.
2021-04-04 06:48:02 +00:00
#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@"
2021-01-23 16:22:39 +00:00
// Plugins directory
2021-04-04 06:48:02 +00:00
#define KICAD_PLUGINDIR "@CMAKE_INSTALL_FULL_LIBDIR@"
2021-01-23 16:22:39 +00:00
/// ngspice version string detected by pkg-config when available.
2021-04-04 06:48:02 +00:00
#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@"
2011-12-15 02:24:52 +00:00
#endif // CONFIG_H_