Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Modules
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Modules
Commits
e9763199
Commit
e9763199
authored
Jun 27, 2015
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ADD #85] script now also handles doc and style targets
parent
beda1134
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
__repository_tools/makeAllToolboxes
__repository_tools/makeAllToolboxes
+11
-2
No files found.
__repository_tools/makeAllToolboxes
View file @
e9763199
...
...
@@ -4,15 +4,17 @@ INTERNAL_LIBDIR=$1
INTERNAL_INCLUDEDIR
=
$2
echo
PARAM3
=
$3
PARAM4
=
$4
if
[
"
$INTERNAL_LIBDIR
"
-a
"
$INTERNAL_INCLUDEDIR
"
]
;
# Test for empty strings
then
echo
OPENWALNUT_LIBDIR
$INTERNAL_LIBDIR
echo
OPENWALNUT_INCLUDEDIR
$INTERNAL_INCLUDEDIR
echo
else
echo
"Usage: makeAllToolboxes <OPENWALNUT_LIBDIR> <OPENWALNUT_INCLUDEDIR> [number of threads]"
echo
"Usage: makeAllToolboxes <OPENWALNUT_LIBDIR> <OPENWALNUT_INCLUDEDIR> [number of threads]
[additional option]
"
echo
"Example: __repository_tools/makeAllToolboxes ../OpenWalnut/build/release/lib/ ../OpenWalnut/src/"
echo
"Example: __repository_tools/makeAllToolboxes ../OpenWalnut/build/release/lib/ ../OpenWalnut/src/ 8"
echo
"Example: __repository_tools/makeAllToolboxes ../OpenWalnut/build/release/lib/ ../OpenWalnut/src/ 8 stylecheck"
echo
echo
"Not enough parameters given, exiting."
exit
;
...
...
@@ -25,6 +27,13 @@ else
PARAM3
=
1
fi
if
[
"
$PARAM4
"
]
;
then
echo
Additional parameter:
$PARAM4
else
PARAM4
=
fi
# Make relative paths absolute
INTERNAL_LIBDIR
=
`
cd
"
$INTERNAL_LIBDIR
"
;
pwd
`
INTERNAL_INCLUDEDIR
=
`
cd
"
$INTERNAL_INCLUDEDIR
"
;
pwd
`
...
...
@@ -39,6 +48,6 @@ do
mkdir
-p
build
cd
build
OPENWALNUT_LIBDIR
=
"
$INTERNAL_LIBDIR
"
OPENWALNUT_INCLUDEDIR
=
"
$INTERNAL_INCLUDEDIR
"
cmake ../src
&&
make
-j
$PARAM3
OPENWALNUT_LIBDIR
=
"
$INTERNAL_LIBDIR
"
OPENWALNUT_INCLUDEDIR
=
"
$INTERNAL_INCLUDEDIR
"
cmake ../src
&&
make
$PARAM4
-j
$PARAM3
cd
../..
done
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