-
Notifications
You must be signed in to change notification settings - Fork 3
Compiling on MacOS
José Ángel Soler Ortiz edited this page Aug 20, 2023
·
6 revisions
MacOS prerequisites:
xcode-select --install
Get build dependencies:
brew install cmake ninja autoconf automake libtool pkg-config
Apple Silicon:
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./ -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DTODDS_NEON_SIMD=on -DTODDS_REGULAR_EXPRESSIONS=off -DVCPKG_TARGET_TRIPLET=arm64-osx .. && cmake --build . --target install