8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00
firebird-mirror/vcpkg-custom/registry/ports/libcxx/13.0.1_0/build.sh.in
Adriano dos Santos Fernandes b31d37b787 MacOS: build libicu and static libc++ using vcpkg.
Also improve non-CI build automation.
2023-08-23 23:09:49 -03:00

20 lines
406 B
Bash
Executable File

#!/usr/bin/env bash
set -e
SOURCE_PATH=@SOURCE_PATH@
INSTALL_PREFIX=@INSTALL_PREFIX@
export MACOSX_DEPLOYMENT_TARGET=10.9
cmake -G Ninja -S $SOURCE_PATH/llvm \
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \
-DLLVM_ENABLE_PROJECTS="libcxx;libcxxabi" \
-DCMAKE_BUILD_TYPE=Release \
-DLIBCXX_ENABLE_SHARED=false \
-DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=true
ninja cxx cxxabi
ninja install-cxx install-cxxabi