We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f536bfa commit cccaa80Copy full SHA for cccaa80
ci/build-osx.sh
@@ -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