Browse Source

Make drc_proto an optional part of the build

6.0.7
Jon Evans 5 years ago
parent
commit
1d879e36cc
  1. 4
      CMakeLists.txt
  2. 5
      qa/CMakeLists.txt

4
CMakeLists.txt

@ -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 )

5
qa/CMakeLists.txt

@ -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 )

Loading…
Cancel
Save