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
683a655f
Commit
683a655f
authored
Nov 10, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python in kicad-install.sh, if user enables it
parent
73ca1ed7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
kicad-install.sh
scripts/kicad-install.sh
+13
-6
No files found.
scripts/kicad-install.sh
View file @
683a655f
...
@@ -11,6 +11,14 @@
...
@@ -11,6 +11,14 @@
# Set where the 3 source trees will go, use a full path
# Set where the 3 source trees will go, use a full path
WORKING_TREES
=
~/kicad_sources
WORKING_TREES
=
~/kicad_sources
# CMake Options
OPTS
=
"
$OPTS
-DCMAKE_BUILD_TYPE=Release"
OPTS
=
"
$OPTS
-DUSE_FP_LIB_TABLE=ON"
OPTS
=
"
$OPTS
-DBUILD_GITHUB_PLUGIN=ON"
# Python scripting, uncomment to enable
#OPTS="$OPTS -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON"
usage
()
usage
()
{
{
...
@@ -48,7 +56,8 @@ install_prerequisites()
...
@@ -48,7 +56,8 @@ install_prerequisites()
libcairo2-dev
\
libcairo2-dev
\
libglew-dev
\
libglew-dev
\
libssl-dev
\
libssl-dev
\
libwxgtk2.8-dev
libwxgtk2.8-dev
\
python-wxgtk2.8
# assume all yum systems have same prerequisites
# assume all yum systems have same prerequisites
elif
[
"
$(
expr
match
"
$PM
"
'.*\(yum\)'
)
"
==
"yum"
]
;
then
elif
[
"
$(
expr
match
"
$PM
"
'.*\(yum\)'
)
"
==
"yum"
]
;
then
...
@@ -65,7 +74,8 @@ install_prerequisites()
...
@@ -65,7 +74,8 @@ install_prerequisites()
libcairo2-dev
\
libcairo2-dev
\
libglew-dev
\
libglew-dev
\
libssl-dev
\
libssl-dev
\
libwxgtk2.8-dev
libwxgtk2.8-dev
\
python-wxgtk2.8
else
else
echo
echo
echo
"Incompatible System. Neither 'yum' nor 'apt-get' found. Not possible to continue."
echo
"Incompatible System. Neither 'yum' nor 'apt-get' found. Not possible to continue."
...
@@ -162,10 +172,7 @@ install_or_update()
...
@@ -162,10 +172,7 @@ install_or_update()
cd
kicad.bzr
cd
kicad.bzr
if
[
!
-d
"build"
]
;
then
if
[
!
-d
"build"
]
;
then
mkdir
build
&&
cd
build
mkdir
build
&&
cd
build
cmake
-DCMAKE_BUILD_TYPE
=
Release
\
cmake
$OPTS
../
-DUSE_FP_LIB_TABLE
=
ON
\
-DBUILD_GITHUB_PLUGIN
=
ON
\
../
else
else
cd
build
cd
build
...
...
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