Add option to build QA test suite (this option is on by default.
KICAD_BUILD_QA_TESTS=OFF skips the QA test suite build. This is useful for daily work on Kicad. It spares compil and link time.
This commit is contained in:
parent
460909ea9a
commit
ead5bfe64b
|
@ -102,6 +102,10 @@ option( KICAD_INSTALL_DEMOS
|
|||
"Install KiCad demos and examples (default ON)"
|
||||
ON )
|
||||
|
||||
option( KICAD_BUILD_QA_TESTS
|
||||
"Build software Quality assurance unit tests (default ON)"
|
||||
ON )
|
||||
|
||||
# when option KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES is enabled:
|
||||
# PYTHON_EXECUTABLE can be defined when invoking cmake
|
||||
# ( use -DPYTHON_EXECUTABLE=<python path>/python.exe or python2 )
|
||||
|
@ -943,7 +947,9 @@ add_subdirectory( plugins ) # 3D plugins must be built before kicad
|
|||
add_subdirectory( kicad ) # should follow pcbnew, eeschema
|
||||
add_subdirectory( tools )
|
||||
add_subdirectory( utils )
|
||||
add_subdirectory( qa )
|
||||
if( KICAD_BUILD_QA_TESTS )
|
||||
add_subdirectory( qa )
|
||||
endif()
|
||||
|
||||
# Resources
|
||||
if ( KICAD_INSTALL_DEMOS )
|
||||
|
|
|
@ -205,6 +205,11 @@ The KICAD_SCRIPTING_ACTION_MENU option allows Python scripts to be added directl
|
|||
menu. This option is disabled by default. Please note that this option is highly experimental
|
||||
and can cause Pcbnew to crash if Python scripts create an invalid object state within Pcbnew.
|
||||
|
||||
## Quality assurance (qa) unit tests ## {#quality_assurance_tests_opt}
|
||||
|
||||
The KICAD_BUILD_QA_TESTS option allows building unit tests binaries for quality assurance.
|
||||
This option is enabled by default.
|
||||
|
||||
## KiCad Build Version ## {#build_version_opt}
|
||||
|
||||
The KiCad version string is defined by the output of `git describe --dirty` when git is available
|
||||
|
|
Loading…
Reference in New Issue