Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HybridOS
hiSVG
Commits
dd8063d6
Commit
dd8063d6
authored
May 13, 2021
by
XueShuming
Browse files
remove build.sh
parent
f8028866
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.sh
deleted
100755 → 0
View file @
f8028866
#!/bin/bash
if
[
-z
${
ROOT_DIR
+x
}
]
;
then
BASE_DIR
=
$(
dirname
$(
readlink
-f
"
$0
"
))
OUTPUT_DIR
=
$BASE_DIR
/output
ROOT_DIR
=
$OUTPUT_DIR
/root
export
CMAKE_INCLUDE_PATH
=
"
$ROOT_DIR
/usr/include"
export
CMAKE_LIBRARY_PATH
=
"
$ROOT_DIR
/usr/lib"
export
PKG_CONFIG_PATH
=
"
$ROOT_DIR
/usr/lib/pkgconfig"
mkdir
-p
$ROOT_DIR
fi
echo
""
echo
"ROOT_DIR=
$ROOT_DIR
"
echo
""
mkdir
-p
.build
cd
.build
cmake
-DCMAKE_INSTALL_PREFIX
=
$ROOT_DIR
/usr ..
#make VERBOSE=1
make
cd
..
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