diff options
author | Eugene Kliuchnikov <eustas@google.com> | 2016-10-18 16:45:32 +0200 |
---|---|---|
committer | Eugene Kliuchnikov <eustas@google.com> | 2016-10-18 16:45:32 +0200 |
commit | 69982c25f155e6b5c72782f2c5590ead1b06aa61 (patch) | |
tree | f7bad04987ba4b1a0b77d3f1bee7cdf541d0e766 /README.md | |
parent | 0781cb10abe616e99985653cab8c382bb76a294c (diff) | |
download | brotli-69982c25f155e6b5c72782f2c5590ead1b06aa61.zip brotli-69982c25f155e6b5c72782f2c5590ead1b06aa61.tar.gz brotli-69982c25f155e6b5c72782f2c5590ead1b06aa61.tar.bz2 |
Build shared libraries by default
* Declare `BUILD_SHARED_LIBS` option for CMake
* Define `${LIB}_SHARED_COMPILATION` when compiling shared library
* Define and use BROTLI_xxx_API
* Fix remaining unprefixed defines in port.h
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,11 +37,11 @@ The basic commands to build, test and install brotli are: $ make install You can use other [CMake](https://cmake.org/) configuration. For example, to -build shared libraries and use a custom installation directory: +build static libraries and use a custom installation directory: $ mkdir out-shared && \ cd out-shared && \ - cmake .. -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX='/my/install/dir/' + cmake .. -DBUILD_SHARED_LIBS=0 -DCMAKE_INSTALL_PREFIX='/my/install/dir/' $ make install #### Premake5 |