summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2020-05-02 00:02:51 +0300
committerTuomas Virtanen <katajakasa@gmail.com>2020-05-02 00:02:51 +0300
commitafeb991b5b2198ad85e2fe2f9b41cf89ebc70638 (patch)
tree52e8968a75d35f42a2e5effdc7a73b873ab74bf8 /README.md
parenta629818ab609d9615f76fd0b2976b951cc13d8b6 (diff)
Allow switching shared and static builds
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index d2745ce..a9262d4 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,8 @@ pacman -S mingw-w64-x86_64-SDL2 mingw-w64-x86_64-ffmpeg mingw-w64-x86_64-libass
## 2. Compiling
By default, both static and dynamic libraries are built.
+* Set BUILD_STATIC off if you don't want to build static library
+* Set BUILD_SHARED off if you don't want to build shared library
* Dynamic library is called libSDL_kitchensink.dll or .so
* Static library is called libSDL_kitchensink_static.a
* If you build in debug mode (```-DCMAKE_BUILD_TYPE=Debug```), libraries will be postfixed with 'd'.