-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL.OSX
30 lines (19 loc) · 855 Bytes
/
INSTALL.OSX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
OSX
---
# The software is regurarly built on OSX with travis, see https://travis-ci.org/patrickfrey/,
# build description in dist/travis/before_script.sh and dist/travis/script.sh
# Steps:
# 1) Install Homebrew from http://brew.sh/:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# 2) Install required packages:
brew install cmake boost
# 3) Install gettext with brew, draw necessary links:
brew install gettext
brew link --force gettext
echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile
# 4) Build strusBase with:
cmake -G Xcode -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release .
xcodebuild -configuration Release -target ALL_BUILD
xcodebuild -configuration Release -target install
# 5) Run the tests:
xcodebuild -configuration Release -target RUN_TESTS