diff --git a/qa/CMakeLists.txt b/qa/CMakeLists.txt index fd592f3219..e0011ff772 100644 --- a/qa/CMakeLists.txt +++ b/qa/CMakeLists.txt @@ -12,13 +12,18 @@ if( KICAD_SCRIPTING_MODULES ) endif() -# common QA helpers +# Shared QA helper libraries add_subdirectory( qa_utils ) add_subdirectory( unit_test_utils ) +# Unit tests add_subdirectory( common ) +add_subdirectory( pcbnew ) add_subdirectory( shape_poly_set_refactor ) + +# Utility/test programs add_subdirectory( pcb_parse_input ) + # add_subdirectory( pcb_test_window ) # add_subdirectory( polygon_triangulation ) # add_subdirectory( polygon_generator ) diff --git a/qa/pcbnew/CMakeLists.txt b/qa/pcbnew/CMakeLists.txt index 6402eea24f..abaaa9f1f9 100644 --- a/qa/pcbnew/CMakeLists.txt +++ b/qa/pcbnew/CMakeLists.txt @@ -36,6 +36,10 @@ add_executable( qa_pcbnew test_graphics_import_mgr.cpp test_pad_naming.cpp + + # Older CMakes cannot link OBJECT libraries + # https://cmake.org/pipermail/cmake/2013-November/056263.html + $ ) if( BUILD_GITHUB_PLUGIN ) @@ -73,7 +77,6 @@ target_link_libraries( qa_pcbnew qa_utils lib_dxf idf3 - pcbnew_kiface_objects unit_test_utils ${wxWidgets_LIBRARIES} ${GITHUB_PLUGIN_LIBRARIES}