In root directory:
make
If successful copy lib/* and include/* at the right place for you
Flags that can be passed to make:
MyCSS_OPTIMIZATION_LEVEL=-O2
set compiler optimization level. Default: -O2MyCSS_BUILD_WITHOUT_THREADS=YES
build without POSIX Threads. Default: NO
for example
make MyCSS_BUILD_WITHOUT_THREADS=NO
and copy to the right place for you
cp lib/* /usr/local/lib
cp -r include/* /usr/local/include
In project
directory:
cmake .
make
sudo make install
Flags that can be passed to CMake:
MyCSS_OPTIMIZATION_LEVEL=-O2
set compiler optimization level. Default: -O2CMAKE_INSTALL_LIBDIR=lib
set path to install created library. Default: libMyCSS_BUILD_SHARED=ON
build shared library. Default: ONMyCSS_BUILD_STATIC=ON
build static library. Default: ONMyCSS_INSTALL_HEADER=OFF
install header files. Default OFFMyCSS_BUILD_WITHOUT_THREADS=YES
build without POSIX Threads. Default: NO
for example
cmake . -DCMAKE_INSTALL_LIBDIR=lib64 -DMyCSS_INSTALL_HEADER=ON