Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
facde96e
Commit
facde96e
authored
Feb 23, 2013
by
Wayne Stambaugh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add build option to use footprint library table.
parent
cd664e8b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
5 deletions
+19
-5
CMakeLists.txt
CMakeLists.txt
+2
-0
config.h.cmake
CMakeModules/config.h.cmake
+3
-0
build-config.txt
Documentation/compiling/build-config.txt
+8
-0
TODO.txt
TODO.txt
+0
-1
menubar_pcbframe.cpp
pcbnew/menubar_pcbframe.cpp
+6
-4
No files found.
CMakeLists.txt
View file @
facde96e
...
@@ -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
)
...
...
CMakeModules/config.h.cmake
View file @
facde96e
...
@@ -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_
Documentation/compiling/build-config.txt
View file @
facde96e
...
@@ -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.
TODO.txt
View file @
facde96e
...
@@ -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
...
...
pcbnew/menubar_pcbframe.cpp
View file @
facde96e
...
@@ -165,9 +165,9 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
...
@@ -165,9 +165,9 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
// Specctra Session
// Specctra Session
AddMenuItem
(
submenuImport
,
ID_GEN_IMPORT_SPECCTRA_SESSION
,
AddMenuItem
(
submenuImport
,
ID_GEN_IMPORT_SPECCTRA_SESSION
,
_
(
"&Specctra Session"
),
_
(
"&Specctra Session"
),
_
(
"Import a routed
\"
Specctra Session
\"
(*.ses) file"
),
_
(
"Import a routed
\"
Specctra Session
\"
(*.ses) file"
),
KiBitmap
(
import_xpm
)
);
KiBitmap
(
import_xpm
)
);
AddMenuItem
(
filesMenu
,
submenuImport
,
AddMenuItem
(
filesMenu
,
submenuImport
,
ID_GEN_IMPORT_FILE
,
_
(
"&Import"
),
ID_GEN_IMPORT_FILE
,
_
(
"&Import"
),
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment