eeschema-gal: make sure all other Kicad apps compile after eeschema gal hacks

This commit is contained in:
Tomasz Wlostowski 2018-08-03 14:27:03 +02:00 committed by Jeff Young
parent 90c7c60471
commit e439b17fa1
7 changed files with 85 additions and 3 deletions

View File

@ -6,6 +6,7 @@ configure_file( 3d_plugin_dir.h.in 3d_plugin_dir.h @ONLY )
include_directories(BEFORE ${INC_BEFORE})
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
../include/legacy_wx
../pcbnew
../polygon
3d_canvas

View File

@ -7,6 +7,7 @@ add_definitions( -DCVPCB )
include_directories( BEFORE ${INC_BEFORE} )
include_directories(
../include/legacy_wx
./dialogs
../3d-viewer
../pcbnew
@ -149,6 +150,23 @@ target_link_libraries( cvpcb_kiface
bitmaps
polygon
gal
legacy_wx
pcbcommon
pcad2kicadpcb
3d-viewer
common
bitmaps
polygon
gal
legacy_wx
pcbcommon
pcad2kicadpcb
3d-viewer
common
bitmaps
polygon
gal
legacy_wx
${wxWidgets_LIBRARIES}
${GDI_PLUS_LIBRARIES}
)

View File

@ -7,6 +7,7 @@ add_definitions(-DGERBVIEW)
include_directories( BEFORE ${INC_BEFORE} )
include_directories(
../include/legacy_wx
../pcbnew
dialogs
../3d-viewer
@ -120,6 +121,7 @@ target_link_libraries( gerbview
common
bitmaps
gal
legacy_wx
${wxWidgets_LIBRARIES}
)
@ -145,6 +147,17 @@ target_link_libraries( gerbview_kiface
polygon
bitmaps
gal
legacy_wx
common
polygon
bitmaps
gal
legacy_wx
common
polygon
bitmaps
gal
legacy_wx
${wxWidgets_LIBRARIES}
${GDI_PLUS_LIBRARIES}
)

View File

@ -7,6 +7,7 @@ add_definitions(-DPL_EDITOR)
include_directories(BEFORE ${INC_BEFORE})
include_directories(
../include/legacy_wx
dialogs
../common/dialogs
${INC_AFTER}
@ -82,6 +83,19 @@ target_link_libraries( pl_editor
common
bitmaps
gal
legacy_wx
common
bitmaps
gal
legacy_wx
common
bitmaps
gal
legacy_wx
common
bitmaps
gal
legacy_wx
${wxWidgets_LIBRARIES}
)
@ -102,6 +116,17 @@ target_link_libraries( pl_editor_kiface
polygon
bitmaps
gal
legacy_wx
common
polygon
bitmaps
gal
legacy_wx
common
polygon
bitmaps
gal
legacy_wx
${wxWidgets_LIBRARIES}
${GDI_PLUS_LIBRARIES}
)

View File

@ -35,6 +35,7 @@ endif()
include_directories( BEFORE ${INC_BEFORE} )
include_directories(
../include/legacy_wx
./dialogs
./autorouter
../3d-viewer
@ -663,6 +664,29 @@ set( PCBNEW_KIFACE_LIBRARIES
gal
lib_dxf
idf3
legacy_wx
3d-viewer
pcbcommon
pnsrouter
pcad2kicadpcb
common
polygon
bitmaps
gal
lib_dxf
idf3
legacy_wx
3d-viewer
pcbcommon
pnsrouter
pcad2kicadpcb
common
polygon
bitmaps
gal
lib_dxf
idf3
legacy_wx
${wxWidgets_LIBRARIES}
${GITHUB_PLUGIN_LIBRARIES}
${GDI_PLUS_LIBRARIES}

View File

@ -1339,6 +1339,7 @@ void DIALOG_PAD_PROPERTIES::redraw()
BOX2I drawbox;
drawbox.Move( m_dummyPad->GetPosition() );
drawbox.Inflate( bbox.GetSize().x*2, bbox.GetSize().y*2 );
view->SetBoundary( drawbox );
// Autozoom

View File

@ -14,6 +14,6 @@ endif()
add_subdirectory( common )
add_subdirectory( shape_poly_set_refactor )
add_subdirectory( pcb_test_window )
add_subdirectory( polygon_triangulation )
add_subdirectory( polygon_generator )
# add_subdirectory( pcb_test_window )
# add_subdirectory( polygon_triangulation )
# add_subdirectory( polygon_generator )