Created
January 6, 2019 22:52
-
-
Save simonrw/d3b17ed8df82896311343c742b554e95 to your computer and use it in GitHub Desktop.
Shell command used to run cmake to build FreeOpcUa on macos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# `brew install [email protected]` | |
set -e | |
( | |
mkdir -p build | |
cd build | |
cmake .. \ | |
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ | |
-DBUILD_PYTHON=off \ | |
-DBoost_INCLUDE_DIR=/usr/local/opt/[email protected]/include \ | |
-DBoost_LIBRARY_DIR_DEBUG=/usr/local/opt/[email protected]/lib \ | |
-DBoost_LIBRARY_DIR_RELEASE=/usr/local/opt/[email protected]/lib \ | |
-DSSL_SUPPORT_MBEDTLS=off | |
make -j 8 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment