Skip to content

Commit cccaa80

Browse files
committed
Add missing script
1 parent f536bfa commit cccaa80

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

ci/build-osx.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Download libuiohook dependency
2+
mkdir deps
3+
wget --quiet --retry-connrefused --waitretry=1 https://obs-studio-deployment.s3-us-west-2.amazonaws.com/libuiohook-osx-1.1-sl.0.tar.gz
4+
tar -xf ./osx-deps-2018-08-09.tar.gz -C ./deps
5+
6+
mkdir build
7+
cd build
8+
9+
# Configure
10+
cmake .. \
11+
-DUIOHOOKDIR=${PWD}/../deps \
12+
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
13+
-DCMAKE_INSTALL_PREFIX=${FULLDISTRIBUTEPATH}/node-libuiohook
14+
-DNODEJS_NAME=${RUNTIMENAME} \
15+
-DNODEJS_URL=${RUNTIMEURL} \
16+
-DNODEJS_VERSION=${RUNTIMEVERSION}
17+
18+
cd ..
19+
20+
# Build
21+
cmake --build build --target install --config RelWithDebInfo

0 commit comments

Comments
 (0)