Make drc_proto an optional part of the build

This commit is contained in:
Jon Evans 2021-03-20 11:40:51 -04:00
parent 6924b98bc3
commit 1d879e36cc
2 changed files with 8 additions and 1 deletions

View File

@ -148,6 +148,10 @@ cmake_dependent_option( KICAD_USE_BUNDLED_GLEW
ON "KICAD_USE_EGL"
OFF )
option( KICAD_DRC_PROTO
"Build the DRC prototype QA tool"
OFF )
# 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 )

View File

@ -54,7 +54,10 @@ add_subdirectory( libs )
add_subdirectory( pcbnew )
add_subdirectory( utils/kicad2step )
# add_subdirectory( libeval_compiler )
add_subdirectory( drc_proto )
if( KICAD_DRC_PROTO )
add_subdirectory( drc_proto )
endif()
# Utility/debugging/profiling programs
add_subdirectory( common_tools )