forked from openhome/ohNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL.txt
42 lines (28 loc) · 1.16 KB
/
INSTALL.txt
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
Installing ohNet Library
-----------------------
Having built the library:
make
You can install it with:
sudo make install
Install behaviour varies by platform:
Posix
-----
By default, ohNet is installed in "/usr". Libraries go in "/usr/lib/ohNet",
include files go in "/usr/include/ohNet". ohNet also installs a pkg-config
file to "/usr/lib/pkgconfig/managed.ohNet.pc" that can be used by .NET
applications to build referencing the ohNet libraries. There is no
pkg-config file for the native interface yet.
You can install to a different location like so:
make install prefix=~/myohNetinstall
This will install libraries to "~/myohNetinstall/lib/ohNet" and include files
to "~/myohNetinstall/include/ohNet".
Windows
-------
To install to "%PROGRAMFILES%\ohNet" do:
make install
To install to a different location, do:
make install installdir="C:\path\to\install\dir"
Nothing is installed to the registry or outside of the specified directory.
Applications building against ohNet must have their include and library
directories updated manually. Binaries go in "$installdir\lib", include
files go in "$installdir\include".