Moved QA to root.

This commit is contained in:
Miguel Angel Ajo 2014-02-02 22:50:45 +01:00
parent 741bfb685b
commit 15bfac3f4e
7 changed files with 12 additions and 8 deletions

View File

@ -513,6 +513,7 @@ add_subdirectory( potrace )
add_subdirectory( bitmap2component ) add_subdirectory( bitmap2component )
add_subdirectory( pcb_calculator ) add_subdirectory( pcb_calculator )
add_subdirectory( tools ) add_subdirectory( tools )
add_subdirectory( qa )
#add_subdirectory( new ) #add_subdirectory( new )

View File

@ -393,14 +393,6 @@ if( KICAD_SCRIPTING_MODULES )
${Boost_LIBRARIES} # must follow GITHUB ${Boost_LIBRARIES} # must follow GITHUB
) )
# create .i files from XML doxygen parsing, docstrings.i will include all of them
add_custom_target( qa
COMMAND PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR} ${PYTHON_EXECUTABLE} test.py
COMMENT "running qa"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/scripting/qa
)
if( MAKE_LINK_MAPS ) if( MAKE_LINK_MAPS )
# generate a link map with cross reference # generate a link map with cross reference
set_target_properties( _pcbnew PROPERTIES LINK_FLAGS "-Wl,-cref -Wl,-Map=_pcbnew.map" ) set_target_properties( _pcbnew PROPERTIES LINK_FLAGS "-Wl,-cref -Wl,-Map=_pcbnew.map" )

11
qa/CMakeLists.txt Normal file
View File

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