Enable all build configuration options ready for stable 5 release.
Enable Python scripting, OCE, and spice build configuration options. Update compiling.md to reflect new option settings.
This commit is contained in:
parent
cfe20e22fb
commit
93683d0021
|
@ -55,15 +55,15 @@ option( USE_WX_OVERLAY
|
||||||
|
|
||||||
option( KICAD_SCRIPTING
|
option( KICAD_SCRIPTING
|
||||||
"Build the Python scripting support inside KiCad binaries (default OFF)."
|
"Build the Python scripting support inside KiCad binaries (default OFF)."
|
||||||
)
|
ON )
|
||||||
|
|
||||||
option( KICAD_SCRIPTING_MODULES
|
option( KICAD_SCRIPTING_MODULES
|
||||||
"Build native portion of the pcbnew Python module: _pcbnew.{pyd,so} for OS command line use of Python."
|
"Build native portion of the pcbnew Python module: _pcbnew.{pyd,so} for OS command line use of Python."
|
||||||
)
|
ON )
|
||||||
|
|
||||||
option( KICAD_SCRIPTING_WXPYTHON
|
option( KICAD_SCRIPTING_WXPYTHON
|
||||||
"Build wxPython implementation for wx interface building in Python and py.shell (default OFF)."
|
"Build wxPython implementation for wx interface building in Python and py.shell (default OFF)."
|
||||||
)
|
ON )
|
||||||
|
|
||||||
option( KICAD_SCRIPTING_ACTION_MENU
|
option( KICAD_SCRIPTING_ACTION_MENU
|
||||||
"Build a tools menu with registred python plugins: actions plugins (default OFF)."
|
"Build a tools menu with registred python plugins: actions plugins (default OFF)."
|
||||||
|
@ -71,7 +71,7 @@ option( KICAD_SCRIPTING_ACTION_MENU
|
||||||
|
|
||||||
option( KICAD_USE_OCE
|
option( KICAD_USE_OCE
|
||||||
"Build tools and plugins related to OpenCascade Community Edition (default OFF)"
|
"Build tools and plugins related to OpenCascade Community Edition (default OFF)"
|
||||||
)
|
ON )
|
||||||
|
|
||||||
option( KICAD_INSTALL_DEMOS
|
option( KICAD_INSTALL_DEMOS
|
||||||
"Install kicad demos and examples (default ON)"
|
"Install kicad demos and examples (default ON)"
|
||||||
|
@ -97,7 +97,7 @@ endif()
|
||||||
|
|
||||||
option( BUILD_GITHUB_PLUGIN "Build the GITHUB_PLUGIN for pcbnew." ON )
|
option( BUILD_GITHUB_PLUGIN "Build the GITHUB_PLUGIN for pcbnew." ON )
|
||||||
|
|
||||||
option( KICAD_SPICE "Build Kicad with internal Spice simulator." OFF )
|
option( KICAD_SPICE "Build Kicad with internal Spice simulator." ON )
|
||||||
|
|
||||||
# Global setting: exports are explicit
|
# Global setting: exports are explicit
|
||||||
set( CMAKE_CXX_VISIBILITY_PRESET "hidden" )
|
set( CMAKE_CXX_VISIBILITY_PRESET "hidden" )
|
||||||
|
|
|
@ -132,17 +132,17 @@ on macOS. This is enabled on macOS by default and disabled on all other platfor
|
||||||
## Scripting Support ## {#scripting_opt}
|
## Scripting Support ## {#scripting_opt}
|
||||||
|
|
||||||
The KICAD_SCRIPTING option is used to enable building the Python scripting support into Pcbnew.
|
The KICAD_SCRIPTING option is used to enable building the Python scripting support into Pcbnew.
|
||||||
This options is disabled by default.
|
This options is enabled by default.
|
||||||
|
|
||||||
## Scripting Module Support ## {#scripting_mod_opt}
|
## Scripting Module Support ## {#scripting_mod_opt}
|
||||||
|
|
||||||
The KICAD_SCRIPTING_MODULES option is used to enable building and installing the Python modules
|
The KICAD_SCRIPTING_MODULES option is used to enable building and installing the Python modules
|
||||||
supplied by KiCad. This option is disabled by default.
|
supplied by KiCad. This option is enabled by default.
|
||||||
|
|
||||||
## wxPython Scripting Support ## {#wxpython_opt}
|
## wxPython Scripting Support ## {#wxpython_opt}
|
||||||
|
|
||||||
The KICAD_SCRIPTING_WXPYTHON option is used to enable building the wxPython interface into
|
The KICAD_SCRIPTING_WXPYTHON option is used to enable building the wxPython interface into
|
||||||
Pcbnew including the wxPython console. This option is disabled by default.
|
Pcbnew including the wxPython console. This option is enabled by default.
|
||||||
|
|
||||||
## GitHub Plugin ## {#github_opt}
|
## GitHub Plugin ## {#github_opt}
|
||||||
|
|
||||||
|
@ -151,16 +151,16 @@ enabled by default.
|
||||||
|
|
||||||
## Integrated Spice simulator ## {#spice_opt}
|
## Integrated Spice simulator ## {#spice_opt}
|
||||||
|
|
||||||
The KICAD_SPICE option is used to control if the Spice simulator interface for Eeschema is built. When
|
The KICAD_SPICE option is used to control if the Spice simulator interface for Eeschema is
|
||||||
this option is enabled, it requires [ngspice][] to be available as a shared library. This option is
|
built. When this option is enabled, it requires [ngspice][] to be available as a shared
|
||||||
disabled by default.
|
library. This option is enabled by default.
|
||||||
|
|
||||||
## STEP/IGES support for the 3D viewer ## {#oce_opt}
|
## STEP/IGES support for the 3D viewer ## {#oce_opt}
|
||||||
|
|
||||||
The KICAD_USE_OCE is used for the 3D viewer plugin to support STEP and IGES 3D models. Build tools
|
The KICAD_USE_OCE is used for the 3D viewer plugin to support STEP and IGES 3D models. Build tools
|
||||||
and plugins related to OpenCascade Community Edition (OCE) are enabled with this option. When
|
and plugins related to OpenCascade Community Edition (OCE) are enabled with this option. When
|
||||||
enabled it requires [OCE][] to be available, and the location of the installed OCE library to be
|
enabled it requires [OCE][] to be available, and the location of the installed OCE library to be
|
||||||
passed via the OCE_DIR flag. This option is disabled by default.
|
passed via the OCE_DIR flag. This option is enabled by default.
|
||||||
|
|
||||||
## Demos and Examples ## {#demo_install_opt}
|
## Demos and Examples ## {#demo_install_opt}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue