cd <sources-root> && cmake [-D<var-name>=<var-value>] . && make && make install
+
cd <sources-root> && cmake [<nowiki>-D<var-name>=<var-value></nowiki>] . && make && make install
Useful cmake variables:
Useful cmake variables:
Line 86:
Line 86:
* ''COMPONENTS'', '';'' separated list of components to build, default is all components
* ''COMPONENTS'', '';'' separated list of components to build, default is all components
* ''BINDINGS'', '';'' separated list of bindings to build, default is all bindings
* ''BINDINGS'', '';'' separated list of bindings to build, default is all bindings
+
+
For each component, Polyol will install ''.pc'' file. So, after installing polyol, be sure that ''pkg-config'' will find ''.pc'' files e.g. setup ''PKG_CONFIG_PATH'' variable before using polyol.