Commit facde96e authored by Wayne Stambaugh's avatar Wayne Stambaugh

Add build option to use footprint library table.

parent cd664e8b
...@@ -64,6 +64,8 @@ option(KICAD_SCRIPTING_WXPYTHON ...@@ -64,6 +64,8 @@ option(KICAD_SCRIPTING_WXPYTHON
# python binary file should be is exec path. # python binary file should be is exec path.
option(USE_FP_LIB_TABLE "Use the new footprint library table implementation. (default OFF)")
#Set version option (stable or testing) #Set version option (stable or testing)
if(KICAD_STABLE_VERSION AND KICAD_TESTING_VERSION ) if(KICAD_STABLE_VERSION AND KICAD_TESTING_VERSION )
......
...@@ -85,4 +85,7 @@ ...@@ -85,4 +85,7 @@
#define LEGACY_BOARD_FILE_VERSION 1 #define LEGACY_BOARD_FILE_VERSION 1
#endif #endif
/// Definition to compile with Pcbnew footprint library table implementation.
#cmakedefine USE_FP_LIB_TABLE
#endif // CONFIG_H_ #endif // CONFIG_H_
...@@ -142,3 +142,11 @@ PYTHON_SITE_PACKAGE_PATH (PATH) ...@@ -142,3 +142,11 @@ PYTHON_SITE_PACKAGE_PATH (PATH)
When building KiCad with Python scripting enable, the Python site library path When building KiCad with Python scripting enable, the Python site library path
is used by default. If you want to install the KiCad Python extension in a is used by default. If you want to install the KiCad Python extension in a
different path, set this variable to the desired path. different path, set this variable to the desired path.
USE_FP_LIB_TABLE (ON/OFF)
-------------------------
This option enable or disables building KiCad with the new footprint library
table support. The default setting (OFF) builds KiCad with the legacy library
path support. This option is experimental until the library table support is
ready for release.
...@@ -81,7 +81,6 @@ EESchema ...@@ -81,7 +81,6 @@ EESchema
* Drag and drop between two EESchema windows. * Drag and drop between two EESchema windows.
Wayne: Wayne:
E2) Finish adding replace capability to new Find dialog.
E3) Hook up perform last library search hot key to replace search libraries for E3) Hook up perform last library search hot key to replace search libraries for
component support removed from find dialog. component support removed from find dialog.
E4) Change add component dialog search text control to combobox and add component E4) Change add component dialog search text control to combobox and add component
......
...@@ -421,13 +421,15 @@ void PCB_EDIT_FRAME::ReCreateMenuBar() ...@@ -421,13 +421,15 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
wxMenu* configmenu = new wxMenu; wxMenu* configmenu = new wxMenu;
// Library // Library
#if !defined( USE_FP_LIB_TABLE )
AddMenuItem( configmenu, ID_CONFIG_REQ, AddMenuItem( configmenu, ID_CONFIG_REQ,
_( "Li&brary" ), _( "Setting libraries, directories and others..." ), _( "Li&brary" ), _( "Setting libraries, directories and others..." ),
KiBitmap( library_xpm ) ); KiBitmap( library_xpm ) );
#else
AddMenuItem( configmenu, ID_PCB_LIB_TABLE_EDIT, AddMenuItem( configmenu, ID_PCB_LIB_TABLE_EDIT,
_( "Li&brary Tables" ), _( "Setup footprint libraries" ), _( "Li&brary Tables" ), _( "Setup footprint libraries" ),
KiBitmap( library_table_xpm ) ); KiBitmap( library_table_xpm ) );
#endif
// Colors and Visibility are also handled by the layers manager toolbar // Colors and Visibility are also handled by the layers manager toolbar
AddMenuItem( configmenu, ID_MENU_PCB_SHOW_HIDE_LAYERS_MANAGER_DIALOG, AddMenuItem( configmenu, ID_MENU_PCB_SHOW_HIDE_LAYERS_MANAGER_DIALOG,
......
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