You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
3.0 KiB

  1. // Do not modify this file, it was automatically generated by CMake.
  2. #ifndef CONFIG_H_
  3. #define CONFIG_H_
  4. #cmakedefine HAVE_STRCASECMP
  5. #cmakedefine HAVE_STRNCASECMP
  6. #cmakedefine HAVE_STRTOKR // spelled odly to differ from wx's similar test
  7. // Handle platform differences in math.h
  8. #cmakedefine HAVE_MATH_H
  9. // Handle platform differences in C++ cmath.
  10. #cmakedefine HAVE_CXX_CMATH
  11. #cmakedefine HAVE_CMATH_ASINH
  12. #cmakedefine HAVE_CMATH_ACOSH
  13. #cmakedefine HAVE_CMATH_ATANH
  14. #cmakedefine HAVE_CMATH_ISINF
  15. #if !defined( HAVE_CLOCK_GETTIME )
  16. #cmakedefine HAVE_CLOCK_GETTIME
  17. #endif
  18. #cmakedefine HAVE_GETTIMEOFDAY_FUNC
  19. #cmakedefine MALLOC_IN_STDLIB_H
  20. #if !defined( MALLOC_IN_STDLIB_H )
  21. #include <malloc.h>
  22. #endif
  23. #cmakedefine HAVE_ISO646_H
  24. #if defined( HAVE_ISO646_H )
  25. #include <iso646.h>
  26. #endif
  27. #if !defined( HAVE_STRCASECMP )
  28. #define strcasecmp stricmp
  29. #endif
  30. #if !defined( HAVE_STRNCASECMP )
  31. #define strncasecmp strnicmp
  32. #endif
  33. // Does the compiler support the -Wimplicit-int-float-conversion warning
  34. #cmakedefine HAVE_WIMPLICIT_FLOAT_CONVERSION
  35. // Use Posix getc_unlocked() instead of getc() when it's available.
  36. #cmakedefine HAVE_FGETC_NOLOCK
  37. // Warning!!! Using wxGraphicContext for rendering is experimental.
  38. #cmakedefine USE_WX_GRAPHICS_CONTEXT 1
  39. /// The legacy file format revision of the *.brd file created by this build
  40. #define LEGACY_BOARD_FILE_VERSION 2
  41. /// The install prefix defined during CMake configuration or fall back to CMAKE_INSTALL_PREFIX.
  42. #define DEFAULT_INSTALL_PATH "@DEFAULT_INSTALL_PATH@"
  43. /// The wxPython version found during configuration.
  44. #if defined( KICAD_SCRIPTING_WXPYTHON )
  45. #define WXPYTHON_VERSION "@WXPYTHON_VERSION@"
  46. #endif
  47. #if defined( KICAD_SCRIPTING )
  48. #define PYTHON_VERSION_MAJOR @PYTHON_VERSION_MAJOR@
  49. #define PYTHON_VERSION_MINOR @PYTHON_VERSION_MINOR@
  50. #endif
  51. /// A file extension with a leading '.' is a suffix, and this one is used on
  52. /// top level program modules which implement the KIFACE.
  53. #define KIFACE_SUFFIX "@KIFACE_SUFFIX@"
  54. #define KIFACE_PREFIX "@KIFACE_PREFIX@"
  55. /// Allows scripts install directory to be referenced by the program code.
  56. #define PYTHON_DEST "@PYTHON_DEST@"
  57. /// Allows scripts install directory to be referenced by the program code.
  58. #define KICAD_DATA "@KICAD_DATA@"
  59. /// Allows KiCad stock EDA library data (templates, symbols, footprints, 3dmodels)
  60. /// directory to be referenced by the program code.
  61. #define KICAD_LIBRARY_DATA "@KICAD_LIBRARY_DATA@"
  62. /// Allows documentation install directory to be referenced by the program code.
  63. #define KICAD_DOCS "@KICAD_DOCS@"
  64. // Plugins directory
  65. #define KICAD_PLUGINDIR "@CMAKE_INSTALL_FULL_LIBDIR@"
  66. /// ngspice version string detected by pkg-config when available.
  67. #cmakedefine NGSPICE_BUILD_VERSION "@NGSPICE_BUILD_VERSION@"
  68. /// When pkg-config config is not available for ngspice, use ngspice/config.h for version.
  69. #cmakedefine NGSPICE_HAVE_CONFIG_H
  70. #endif // CONFIG_H_