-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL.UNIX
72 lines (48 loc) · 1.79 KB
/
INSTALL.UNIX
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Change directory to where you found this file. Usually the standard procedure
will suffice. Exceptions include Mac OSX build with Xcode, explained below.
sh configure
make
sudo make install
A more detailed help follows.
WHAT YOU NEED
---------------------------------------------------------------
CMake version 2.6 or later installed on your system.
HOW TO INSTALL:
Linux distributions:
shell> sudo apt-get install cmake
The above works on do Debian/Ubuntu based distributions.On others, command
line needs to be modified to e.g "yum install" on Fedora or "zypper install"
on OpenSUSE.
OpenSolaris:
shell> pfexec pkgadd install SUNWcmake
Mac OSX:
Download and install the latest distribution from
http://www.cmake.org/cmake/resources/software.html
Download the .dmg image and open it.
Other Unixes:
Precompiled packages for other Unix flavors (HPUX, AIX) are available from
http://www.cmake.org/cmake/resources/software.html
Alternatively, you can build from source, source package is also available on
CMake download page.
Compiler Tools
--------------
You will need a working compiler and make utility on your OS.
On Mac OSX, install Xcode tools.
BUILD
---------------------------------------------------------------
Ensure that compiler and cmake are in PATH.
The following description assumes that current working directory
is the source directory.
- Generic build on Unix, using "Unix Makefiles" generator
shell>sh configure
shell>make
- Mac OSX build with Xcode
shell>cd build/
shell>cmake .. -G Xcode
shell>xcodebuild -configuration Relwithdebinfo
(alternatively, open tailserver.xcodeproj and build using the IDE)
Command line build with CMake 2.8
After creating project with cmake -G as above, issue
cmake .. --build
this works with any CMake generator.
^ I doubt it works at all.