FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
solvespace/.github/scripts/build-web.sh at master · goodluck14/solvespace · GitHub
goodluck14
/
solvespace
Public
forked from
solvespace/solvespace
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
solvespace
/
.github
/
scripts
/
build-web.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
27 lines (25 loc) · 595 Bytes
Breadcrumbs
solvespace
/
.github
/
scripts
/
build-web.sh
Copy path
File metadata and controls
executable file
·
27 lines (25 loc) · 595 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!
/usr/bin/env bash
if
[
"
$1
"
=
"
release
"
]
;
then
BUILD_TYPE=
"
Release
"
ENABLE_LTO=
"
ON
"
else
BUILD_TYPE=
"
Debug
"
ENABLE_LTO=
"
OFF
"
fi
cd
..
git clone https://github.com/emscripten-core/emsdk.git --depth 1
cd
emsdk
./emsdk install latest
./emsdk activate latest
cd
../solvespace
source
../emsdk/emsdk_env.sh
mkdir build
cd
build
emcmake cmake .. \
-DCMAKE_BUILD_TYPE=
"
${BUILD_TYPE}
"
\
-DENABLE_CLI=
"
OFF
"
\
-DENABLE_TESTS=
"
OFF
"
\
-DENABLE_COVERAGE=
"
OFF
"
\
-DENABLE_OPENMP=
"
OFF
"
\
-DENABLE_LTO=
"
ON
"
cmake --build
.
--config
"
${BUILD_TYPE}
"
-j
$(
nproc
)
--target solvespace
Back
|
FazBrowse Home
|
New Git URL