Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
simulators
EMAM-showcase
Commits
45db7873
Commit
45db7873
authored
Jan 15, 2019
by
Evgeny Kusmenko
Browse files
Merge branch 'compile-script-fix' into 'master'
Added OS check Closes
#3
See merge request
!2
parents
c031d9a2
a4d2dbf6
Changes
1
Show whitespace changes
Inline
Side-by-side
scripts/linux/compile.sh
View file @
45db7873
...
...
@@ -2,9 +2,15 @@
source
./variables.sh
if
[[
"
$OSTYPE
"
==
"linux-gnu"
]]
;
then
OS
=
"linux"
;
elif
[[
"
$OSTYPE
"
==
"darwin"
]]
;
then
OS
=
"darwin"
;
fi
g++
-shared
-fPIC
\
-I
$JAVA_HOME
/include/
\
-I
$JAVA_HOME
/include/
darwin
\
-I
$JAVA_HOME
/include/
$OS
\
-I
$ARMADILLO_HOME
/include
\
-o
$AUTOPILOT_DLL_DIR
/AutopilotAdapter.dll
\
$AUTOPILOT_CPP_DIR
/AutopilotAdapter.cpp
\
Write
Preview
Supports
Markdown
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