Browse Source

Remove superfluous build library dependencies.

It looks like someone's paste keys got stuck and added repeated sets of
link libraries in multiple places.
pull/13/head
Wayne Stambaugh 7 years ago
parent
commit
37edf0e9a6
  1. 12
      cvpcb/CMakeLists.txt
  2. 18
      eeschema/CMakeLists.txt
  3. 8
      gerbview/CMakeLists.txt
  4. 15
      pagelayout_editor/CMakeLists.txt
  5. 25
      qa/gal/gal_pixel_alignment/CMakeLists.txt
  6. 15
      qa/pcb_test_window/CMakeLists.txt
  7. 5
      qa/pcbnew/CMakeLists.txt
  8. 7
      qa/pcbnew_tools/CMakeLists.txt

12
cvpcb/CMakeLists.txt

@ -144,21 +144,9 @@ target_link_libraries( cvpcb_kiface
pcbcommon
pcad2kicadpcb
3d-viewer
common
gal
legacy_wx
pcbcommon
pcad2kicadpcb
3d-viewer
common
gal
legacy_wx
pcbcommon
pcad2kicadpcb
3d-viewer
common
gal
legacy_wx
${wxWidgets_LIBRARIES}
${GDI_PLUS_LIBRARIES}
)

18
eeschema/CMakeLists.txt

@ -320,18 +320,9 @@ set_source_files_properties( ../common/single_top.cpp PROPERTIES
target_link_libraries( eeschema
#singletop # replaces common, giving us restrictive control and link warnings.
# There's way too much crap coming in from common yet.
common
gal
legacy_gal
common
gal
legacy_gal
common
gal
legacy_gal
common
gal
legacy_gal
${wxWidgets_LIBRARIES}
)
@ -341,18 +332,9 @@ add_library( eeschema_kiface SHARED
${EESCHEMA_COMMON_SRCS}
)
target_link_libraries( eeschema_kiface
common
gal
legacy_gal
common
gal
legacy_gal
common
gal
legacy_gal
common
gal
legacy_gal
${wxWidgets_LIBRARIES}
${GDI_PLUS_LIBRARIES}
)

8
gerbview/CMakeLists.txt

@ -117,9 +117,9 @@ set_source_files_properties( ../common/single_top.cpp PROPERTIES
target_link_libraries( gerbview
#singletop # replaces common, giving us restrictive control and link warnings.
# There's way too much crap coming in from common yet.
common
gal
legacy_wx
common
${wxWidgets_LIBRARIES}
)
@ -141,15 +141,9 @@ set_target_properties( gerbview_kiface PROPERTIES
SUFFIX ${KIFACE_SUFFIX}
)
target_link_libraries( gerbview_kiface
common
gal
legacy_wx
common
gal
legacy_wx
common
gal
legacy_wx
${wxWidgets_LIBRARIES}
${GDI_PLUS_LIBRARIES}
)

15
pagelayout_editor/CMakeLists.txt

@ -80,18 +80,9 @@ set_source_files_properties( ../common/single_top.cpp PROPERTIES
target_link_libraries( pl_editor
#singletop # replaces common, giving us restrictive control and link warnings.
# There's way too much crap coming in from common yet.
common
gal
legacy_wx
common
gal
legacy_wx
common
gal
legacy_wx
common
gal
legacy_wx
${wxWidgets_LIBRARIES}
)
@ -108,15 +99,9 @@ add_library( pl_editor_kiface MODULE
${PL_EDITOR_EXTRA_SRCS}
)
target_link_libraries( pl_editor_kiface
common
gal
legacy_wx
common
gal
legacy_wx
common
gal
legacy_wx
${wxWidgets_LIBRARIES}
${GDI_PLUS_LIBRARIES}
)

25
qa/gal/gal_pixel_alignment/CMakeLists.txt

@ -63,36 +63,17 @@ include_directories(
)
target_link_libraries( test_gal_pixel_alignment
qa_pcbnew_utils
polygon
pnsrouter
common
pcbcommon
bitmaps
polygon
pnsrouter
common
pcbcommon
pcad2kicadpcb
bitmaps
polygon
pnsrouter
common
pcbcommon
legacy_gal
bitmaps
polygon
pnsrouter
common
pcbcommon
3d-viewer
bitmaps
gal
pcad2kicadpcb
common
pcbcommon
legacy_gal
${GITHUB_PLUGIN_LIBRARIES}
common
pcbcommon
${GITHUB_PLUGIN_LIBRARIES}
${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}

15
qa/pcb_test_window/CMakeLists.txt

@ -62,26 +62,13 @@ include_directories(
)
target_link_libraries( test_window
pcad2kicadpcb
pnsrouter
common
pcbcommon
pnsrouter
common
pcbcommon
pnsrouter
common
pcbcommon
pnsrouter
common
pcbcommon
3d-viewer
gal
pcad2kicadpcb
common
pcbcommon
${GITHUB_PLUGIN_LIBRARIES}
common
pcbcommon
${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}

5
qa/pcbnew/CMakeLists.txt

@ -61,10 +61,9 @@ target_link_libraries( qa_pcbnew
pcbcommon
pnsrouter
pcad2kicadpcb
common
pcbcommon
legacy_wx
gal
common
qa_utils
lib_dxf
idf3
@ -79,4 +78,4 @@ target_link_libraries( qa_pcbnew
add_test( NAME pcbnew
COMMAND qa_pcbnew
)
)

7
qa/pcbnew_tools/CMakeLists.txt

@ -49,13 +49,12 @@ target_link_libraries( qa_pcbnew_tools
pcbcommon
pnsrouter
pcad2kicadpcb
common
pcbcommon
legacy_wx
gal
qa_utils
lib_dxf
idf3
common
qa_utils
unit_test_utils
${wxWidgets_LIBRARIES}
${GITHUB_PLUGIN_LIBRARIES}
@ -63,4 +62,4 @@ target_link_libraries( qa_pcbnew_tools
${PYTHON_LIBRARIES}
${Boost_LIBRARIES} # must follow GITHUB
${PCBNEW_EXTRA_LIBS} # -lrt must follow Boost
)
)
Loading…
Cancel
Save