File tree Expand file tree Collapse file tree 1 file changed +25
-4
lines changed
Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ How to Build on Unix
2828
2929## Building
3030
31+ ### Simple way
32+
3133Once you have downloaded the source, enter the following to build it (after
3234changing into the directory under which it was downloaded):
3335
@@ -37,6 +39,29 @@ changing into the directory under which it was downloaded):
3739 $ make
3840 $ sudo make install
3941
42+ ### Installing headers and the library separately
43+
44+ First install headers only:
45+
46+ $ mkdir BUILD
47+ $ cd BUILD
48+ $ cmake -D SHIP_HEADERS_ONLY=ON ..
49+ $ make
50+ $ sudo make install
51+
52+ After this disable shipping headers to avoid re-installing:
53+
54+ $ mkdir BUILD
55+ $ cd BUILD
56+ $ cmake -D BUILD_WITHOUT_HEADERS=ON ..
57+ $ make
58+ $ sudo make install
59+
60+ This allows to install some other components that depend on the headers between
61+ those builds.
62+
63+ ### Changing install directory
64+
4065The directory under which the files are installed defaults to ` /usr/local/webos ` .
4166You can install them elsewhere by supplying a value for ` WEBOS_INSTALL_ROOT `
4267when invoking ` cmake ` . For example:
@@ -94,10 +119,6 @@ the tree defined by the value of `WEBOS_INSTALL_ROOT` (or its default).
94119
95120You will need to use ` sudo ` if you did not specify ` WEBOS_INSTALL_ROOT ` .
96121
97- # TODO
98- + CMake generates some linuxisms: -ldl and -lpthread in link line
99- + glibconfig.h not found
100-
101122# Copyright and License Information
102123
103124Unless otherwise specified, all content, including all source code files and
You can’t perform that action at this time.
0 commit comments