Skip to content

Commit

Permalink
chore: add windows x86 build support
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Apr 24, 2021
1 parent d8aaa0c commit a8b8a8a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions script/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ if [ -n "${WINDIR}" ]; then
# Working directory is NAPI temporary build directory.
PATH_PREFIX="${PWD}/libzmq"
ARTIFACT="${PATH_PREFIX}/lib/libzmq.lib"

# Handle x86 or x64 build
if [ -z "${ARCH}" ]; then
ARCH="x64"
fi
BUILD_OPTIONS="-DCMAKE_GENERATOR_PLATFORM=${ARCH} ${BUILD_OPTIONS}"
else
# Working directory is project root.
PATH_PREFIX="${PWD}/build/libzmq"
Expand Down

0 comments on commit a8b8a8a

Please sign in to comment.