Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
c1184615
Commit
c1184615
authored
Dec 14, 2016
by
Harris Hancock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove lite mode requirement from MSVC compilation instructions
parent
6c7014a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
install.md
doc/install.md
+10
-11
No files found.
doc/install.md
View file @
c1184615
...
...
@@ -49,7 +49,7 @@ new version of a well-supported compiler. The minimum versions are:
*
GCC 4.8
*
Clang 3.3
*
Visual C++ 2015
(lite mode only)
*
Visual C++ 2015
If your system's default compiler is older that the above, you will need to install a newer
compiler and set the
`CXX`
environment variable before trying to build Cap'n Proto. For example,
...
...
@@ -64,12 +64,13 @@ as well as on Windows. We test every Cap'n Proto release on the following platfo
*
Linux
*
Mac OS X
*
Windows - Cygwin
*
Windows - MinGW-w64
(lite mode and compiler binary only)
*
Windows - Visual C++
(lite mode only)
*
Windows - MinGW-w64
*
Windows - Visual C++
**Windows users:**
As of Visual Studio 2015, Visual C++ still does not support enough of C++11 to
compile Cap'n Proto's reflection or RPC APIs. "Cap'n Proto Lite" omits these features from the
library, giving you only the core serialization based on generated code.
**Windows users:**
Cap'n Proto requires Visual Studio 2015 Update 3 or newer. All runtime features
of Cap'n Proto -- including serialization and RPC -- are now supported. (It is still not possible to
compile the code generator tool, capnp.exe, using Visual Studio; however, a precompiled copy built
with MinGW is provided in the release zip for your convenience.)
**Mac OS X users:**
You must use at least Xcode 5 with the Xcode command-line
tools (Xcode menu > Preferences > Downloads). Alternatively, the command-line tools
...
...
@@ -136,10 +137,10 @@ If you want to use Cap'n Proto in C++ with Visual Studio, do the following:
1.
Install
[
CMake
](
http://www.cmake.org/
)
version 3.1 or later.
2.
Use CMake to generate Visual Studio project files under
`capnproto-c++-0.0.0`
in the zip file.
You will need to enable the CMake project option
s
`CAPNP_LITE`
and
`EXTERNAL_CAPNP`
.
You can use the CMake UI for
this or run this shell command:
You will need to enable the CMake project option
`EXTERNAL_CAPNP`
. You can use the CMake UI for
this or run this shell command:
cmake -G "Visual Studio 14 2015" -D
CAPNP_LITE=1 -D
EXTERNAL_CAPNP=1
cmake -G "Visual Studio 14 2015" -DEXTERNAL_CAPNP=1
If the `capnp.exe` and `capnpc-c++.exe` tools are not on your `PATH`, then `CAPNP_EXECUTABLE`
and `CAPNPC_CXX_EXECUTABLE` will need to be set to their respective locations.
...
...
@@ -158,8 +159,6 @@ If you want to use Cap'n Proto in C++ with Visual Studio, do the following:
Also add the
`src`
directory to your search path for
`#include`
s, or copy all the headers to your
project's include directory.
7.
Add
`#define CAPNP_LITE 1`
to either your project's precompiled/shared header or compiler options.
**From Git**
If you download directly from Git, you'll need to compile the Cap'n Proto tools (the
`.exe`
s) using
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment