aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorxgdgsc <xgdgsc@users.noreply.github.com>2018-07-17 03:56:14 +0800
committerWouter van Oortmerssen <aardappel@gmail.com>2018-07-16 12:56:14 -0700
commitcda1525f84e33e85e5999f599325f330bfa3cab5 (patch)
treec8f70952d859aa7823d31726b1a2a66b00906198 /docs
parent72b05bc8653c30d988d101de6b3fa90c93192081 (diff)
downloadflatbuffers-cda1525f84e33e85e5999f599325f330bfa3cab5.tar.gz
:memo: release mode in building doc (#4819)
Diffstat (limited to 'docs')
-rw-r--r--docs/source/Building.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/Building.md b/docs/source/Building.md
index a05e3991..607bd873 100644
--- a/docs/source/Building.md
+++ b/docs/source/Building.md
@@ -8,9 +8,9 @@ you to build project/make files for any platform. For details on `cmake`, see
<https://www.cmake.org>. In brief, depending on your platform, use one of
e.g.:
- cmake -G "Unix Makefiles"
- cmake -G "Visual Studio 10"
- cmake -G "Xcode"
+ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
+ cmake -G "Visual Studio 10" -DCMAKE_BUILD_TYPE=Release
+ cmake -G "Xcode" -DCMAKE_BUILD_TYPE=Release
Then, build as normal for your platform. This should result in a `flatc`
executable, essential for the next steps.