kicad/qa/CMakeLists.txt

12 lines
320 B
CMake

if( KICAD_SCRIPTING_MODULES )
# build target that runs the QA tests through scripting
add_custom_target( qa
COMMAND PYTHONPATH=${CMAKE_BINARY_DIR}/pcbnew${PYTHON_QA_PATH} ${PYTHON_EXECUTABLE} test.py
COMMENT "running qa"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
endif()