You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,9 +89,7 @@ Check the installation by running a sample example.
89
89
`$ cd build/sample` <br/>
90
90
`$ ./btpp_example` <br/>
91
91
92
-
Note that the local installation generates the shared library in `/path/to/folder/build/lib`.
93
-
94
-
INSTALL THE LIBRARY SYSTEM-WIDE (tested on Ubuntu 14.04 only)
92
+
INSTALL THE LIBRARY SYSTEM-WIDE (tested on Ubuntu 14.04 and 16.04)
95
93
-------------------------------
96
94
97
95
If you would like to install the library system-wide, then run:
@@ -100,7 +98,9 @@ If you would like to install the library system-wide, then run:
100
98
`$ cd build` <br/>
101
99
`$ sudo make install` <br/>
102
100
103
-
On Ubuntu 14.04, this will install the shared library (libbtpp.so) in `/usr/local/lib`. <br/>
101
+
On Ubuntu, this will install the library (libbtpp.so) in `/usr/local/lib`. <br/>
102
+
In an external project, just call in your CMakeLists 'find_package(BTpp)' to find the library. <br/>
103
+
The include directory is defined as `BTpp_INCLUDE_DIRS` and the libraries to link as `BTpp_LIBRARIES`.<br/>
104
104
The repository [my-behavior-tree-project](https://github.com/miccol/my-behavior-tree-project) shows an example on how to use the library once system-wide installed.
0 commit comments