Commit 323a62fe authored by charras's avatar charras

Fixed a problem with aui lib (now mandatory) in CMakeList.txt (could be not included at link time)

parent 69098439
...@@ -55,14 +55,6 @@ if(KICAD_GOST) ...@@ -55,14 +55,6 @@ if(KICAD_GOST)
add_definitions(-DKICAD_GOST) add_definitions(-DKICAD_GOST)
endif(KICAD_GOST) endif(KICAD_GOST)
if(KICAD_AUIMANAGER)
add_definitions(-DKICAD_AUIMANAGER)
endif(KICAD_AUIMANAGER)
if(KICAD_AUITOOLBAR)
add_definitions(-DKICAD_AUITOOLBAR)
endif(KICAD_AUITOOLBAR)
# Locations for install targets. # Locations for install targets.
set(KICAD_BIN bin set(KICAD_BIN bin
CACHE PATH "Location of KiCad binaries.") CACHE PATH "Location of KiCad binaries.")
...@@ -133,16 +125,12 @@ check_find_package_result(OPENGL_FOUND "OpenGL") ...@@ -133,16 +125,12 @@ check_find_package_result(OPENGL_FOUND "OpenGL")
# application. You can figure out what libraries you need here; # application. You can figure out what libraries you need here;
# http://www.wxwidgets.org/manuals/2.8/wx_librarieslist.html # http://www.wxwidgets.org/manuals/2.8/wx_librarieslist.html
if( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) # On Apple only wxwidgets 2.9 or higher doesn't need to find aui part of base
find_package(wxWidgets COMPONENTS gl aui adv html core net base QUIET) if(APPLE)
# On Apple only wxwidgets 2.9 or higher doesn't need to find aui part of base
if(APPLE)
find_package(wxWidgets COMPONENTS gl adv html core net base QUIET)
endif(APPLE)
else( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR )
find_package(wxWidgets COMPONENTS gl adv html core net base QUIET) find_package(wxWidgets COMPONENTS gl adv html core net base QUIET)
endif( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) else(APPLE)
find_package(wxWidgets COMPONENTS gl aui adv html core net base QUIET)
endif(APPLE)
check_find_package_result(wxWidgets_FOUND "wxWidgets") check_find_package_result(wxWidgets_FOUND "wxWidgets")
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#endif #endif
#ifndef KICAD_BUILD_VERSION #ifndef KICAD_BUILD_VERSION
#define KICAD_BUILD_VERSION "(2010-01-10)" #define KICAD_BUILD_VERSION "(2010-01-25)"
#endif #endif
#define VERSION_STABILITY "unstable" #define VERSION_STABILITY "unstable"
......
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -16,6 +16,7 @@ endif(APPLE) ...@@ -16,6 +16,7 @@ endif(APPLE)
# Many of the commented out ones are nested in *.cpp files for dialogs # Many of the commented out ones are nested in *.cpp files for dialogs
set(PCBNEW_SRCS set(PCBNEW_SRCS
pcbframe.cpp
attribut.cpp attribut.cpp
automove.cpp automove.cpp
autoplac.cpp autoplac.cpp
...@@ -67,7 +68,6 @@ set(PCBNEW_SRCS ...@@ -67,7 +68,6 @@ set(PCBNEW_SRCS
dialog_netlist.cpp dialog_netlist.cpp
dialog_netlist_fbp.cpp dialog_netlist_fbp.cpp
dialog_pcb_text_properties.cpp dialog_pcb_text_properties.cpp
zones_non_copper_type_functions.cpp
dialog_non_copper_zones_properties_base.cpp dialog_non_copper_zones_properties_base.cpp
dialog_pad_properties.cpp dialog_pad_properties.cpp
dialog_pad_properties_base.cpp dialog_pad_properties_base.cpp
...@@ -109,8 +109,6 @@ set(PCBNEW_SRCS ...@@ -109,8 +109,6 @@ set(PCBNEW_SRCS
hotkeys.cpp hotkeys.cpp
initpcb.cpp initpcb.cpp
ioascii.cpp ioascii.cpp
print_board_functions.cpp
printout_controler.cpp
layer_widget.cpp layer_widget.cpp
librairi.cpp librairi.cpp
loadcmp.cpp loadcmp.cpp
...@@ -132,7 +130,6 @@ set(PCBNEW_SRCS ...@@ -132,7 +130,6 @@ set(PCBNEW_SRCS
netlist.cpp netlist.cpp
onleftclick.cpp onleftclick.cpp
onrightclick.cpp onrightclick.cpp
pcbframe.cpp
pcbnew.cpp pcbnew.cpp
pcbnew_config.cpp pcbnew_config.cpp
pcbplot.cpp pcbplot.cpp
...@@ -141,6 +138,8 @@ set(PCBNEW_SRCS ...@@ -141,6 +138,8 @@ set(PCBNEW_SRCS
plotps.cpp plotps.cpp
plotdxf.cpp plotdxf.cpp
plot_rtn.cpp plot_rtn.cpp
print_board_functions.cpp
printout_controler.cpp
queue.cpp queue.cpp
ratsnest.cpp ratsnest.cpp
set_color.cpp set_color.cpp
...@@ -166,6 +165,7 @@ set(PCBNEW_SRCS ...@@ -166,6 +165,7 @@ set(PCBNEW_SRCS
zones_convert_brd_items_to_polygons.cpp zones_convert_brd_items_to_polygons.cpp
zone_filling_algorithm.cpp zone_filling_algorithm.cpp
zones_functions_for_undo_redo.cpp zones_functions_for_undo_redo.cpp
zones_non_copper_type_functions.cpp
zones_polygons_insulated_copper_islands.cpp zones_polygons_insulated_copper_islands.cpp
zones_polygons_test_connections.cpp zones_polygons_test_connections.cpp
zones_test_and_combine_areas.cpp zones_test_and_combine_areas.cpp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment