aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDavid Neto <dneto@google.com>2019-05-27 14:51:07 -0400
committerdan sinclair <dsinclair@google.com>2019-05-27 14:51:07 -0400
commit818b3c2f01ce2e6fcfa5d465eae4c1032c51ef9a (patch)
treeda9b782a6def4683883b6402e02447bf14dd9408 /README.md
parentd2c0872639b72b7cebbb021e1d860bfe95baeb65 (diff)
downloadamber-818b3c2f01ce2e6fcfa5d465eae4c1032c51ef9a.tar.gz
Add AMBER_ENABLE_SHARED_CRT option (#526)
On Windows, using this will cause Amber to build with /MD or MDd. Normally Amber builds with /MT or MTd.
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 26d04d0..4414cd5 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,14 @@ cmake -GNinja ../..
ninja
```
+Alternatives:
+
+* On Windows, Amber normally statically links against the C runtime library.
+ To override this and link against a shared C runtime, CMake option
+ `-DAMBER_ENABLE_SHARED_CRT`.
+ This will cause Amber to be built with `/MD` for release builds or `/MDd` for
+ debug builds.
+
### Android
* Android build needs Android SDK 28, Android NDK 16, Java 8. If you prefer