You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by db...@apache.org on 2017/04/14 23:41:08 UTC

geode-native git commit: GEODE-2784 Geode client docs: Cmake reqires the --config option when a generator is specified This closes #92

Repository: geode-native
Updated Branches:
  refs/heads/develop c0ac5fd73 -> 3e60324f2


GEODE-2784 Geode client docs: Cmake reqires the --config option when a generator is specified
This closes #92


Project: http://git-wip-us.apache.org/repos/asf/geode-native/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode-native/commit/3e60324f
Tree: http://git-wip-us.apache.org/repos/asf/geode-native/tree/3e60324f
Diff: http://git-wip-us.apache.org/repos/asf/geode-native/diff/3e60324f

Branch: refs/heads/develop
Commit: 3e60324f2223ccb3680a34bb76ad4470b69233c4
Parents: c0ac5fd
Author: Dave Barnes <db...@pivotal.io>
Authored: Fri Apr 14 15:48:22 2017 -0700
Committer: Dave Barnes <db...@pivotal.io>
Committed: Fri Apr 14 16:40:27 2017 -0700

----------------------------------------------------------------------
 .../introduction/install-overview.html.md.erb      | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode-native/blob/3e60324f/docs/geode-native-docs/introduction/install-overview.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/geode-native-docs/introduction/install-overview.html.md.erb b/docs/geode-native-docs/introduction/install-overview.html.md.erb
index a73aa03..58bda3e 100644
--- a/docs/geode-native-docs/introduction/install-overview.html.md.erb
+++ b/docs/geode-native-docs/introduction/install-overview.html.md.erb
@@ -107,6 +107,23 @@ Specify the generator with the -G option. For example, on Windows:
   $ cmake -G "Visual Studio 12 2013 Win64" ../src
   ```
 
+When you specify a generator in the cmake configuration step, cmake will usually require that you
+also specify a config type of "Debug" or "Release" in subsequent build steps, using the cmake
+`--config` command-line option. For example, when building for Windows, if you specify the code
+generator (usually "Visual Studio 12 2013 Win64") in the configuration step and the config type
+("Debug" or "Release") in any build steps, the command sequence would look something like this:
+
+<code>
+\> cmake -G "Visual Studio 12 2013 Win64" %GFCPP%\SampleCode\quickstart\csharp<br />
+... configures cmake<br />
+\> cmake --build . --config Release<br />
+... builds the target
+</code>
+
+
+
+
+
 ## C++11 Compiler
 Integrated development environments (IDEs) for various systems usually include the compilers that you need.
 This table shows recommended versions for some of the most popular systems.