aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2016-10-18 16:45:32 +0200
committerEugene Kliuchnikov <eustas@google.com>2016-10-18 16:45:32 +0200
commit69982c25f155e6b5c72782f2c5590ead1b06aa61 (patch)
treef7bad04987ba4b1a0b77d3f1bee7cdf541d0e766 /README.md
parent0781cb10abe616e99985653cab8c382bb76a294c (diff)
downloadbrotli-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.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 30ccda6..17b6058 100644
--- a/README.md
+++ b/README.md
@@ -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