• Home
  • Raw
  • Download

Lines Matching +full:- +full:dcmake_install_prefix

6 and optionally [Git](http://git-scm.com) installed on your computer before proceeding.
48 C:\Path\to> git clone -b [release_tag] https://github.com/google/protobuf.git
50 Where *[release_tag]* is a git tag like *v3.0.0-beta-1* or a branch name like *master*
58 Protobuf unit-tests require gmock to build. If you download protobuf source code
61 download it manually or skip building protobuf unit-tests.
65 C:\Path\to\protobuf>git clone -b release-1.7.0 https://github.com/google/googlemock.git gmock
70 …C:\Path\to\protobuf\gmock>git clone -b release-1.7.0 https://github.com/google/googletest.git gtest
72 If you absolutely don't want to build and run protobuf unit-tests, skip
86 [generators](http://www.cmake.org/cmake/help/latest/manual/cmake-generators.7.html)
89 [Makefile](http://www.cmake.org/cmake/help/latest/manual/cmake-generators.7.html#makefile-generator…
91 … Studio](http://www.cmake.org/cmake/help/latest/manual/cmake-generators.7.html#visual-studio-gener…
107 C:\Path\to\protobuf\cmake\build\release>cmake -G "NMake Makefiles" ^
108 -DCMAKE_BUILD_TYPE=Release ^
109 -DCMAKE_INSTALL_PREFIX=../../../../install ^
117 C:\Path\to\protobuf\cmake\build\debug>cmake -G "NMake Makefiles" ^
118 -DCMAKE_BUILD_TYPE=Debug ^
119 -DCMAKE_INSTALL_PREFIX=../../../../install ^
127 C:\Path\to\protobuf\cmake\build\solution>cmake -G "Visual Studio 12 2013 Win64" ^
128 -DCMAKE_INSTALL_PREFIX=../../../../install ^
134 you need to add *cmake* command argument `-Dprotobuf_BUILD_TESTS=OFF` to disable testing.
160 To run unit-tests, first you must compile protobuf as described above.
184 C:\Path\to\protobuf>cmake\build\release\tests.exe --gtest_filter=AnyTest*
188 [----------] Global test environment set-up.
189 [----------] 3 tests from AnyTest
196 [----------] 3 tests from AnyTest (1 ms total)
198 [----------] Global test environment tear-down
221 * bin - that contains protobuf *protoc.exe* compiler;
222 * include - that contains C++ headers and protobuf *.proto files;
223 * lib - that contains linking libraries and *CMake* configuration files for *protobuf* package.
228 …* Copy linking libraries libprotobuf[d].lib, libprotobuf-lite[d].lib, and libprotoc[d].lib whereve…
245 * Add an additional flag `-Dprotobuf_BUILD_SHARED_LIBS=ON` when invoking cmake
254 libraries will *not* be usable as drop-in replacements.
256 If your project is itself a DLL intended for use by third-party software, we
268 Obtain a copy of the zlib library. The pre-compiled DLL at zlib.net works.
279 C:\Path\to>git clone -b v1.2.8 https://github.com/madler/zlib.git
286 C:\Path\to\zlib\build\release>cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release ^
287 -DCMAKE_INSTALL_PREFIX=../../../install ../..
297 You need reconfigure protobuf with flag `-Dprotobuf_WITH_ZLIB=ON` when invoking cmake.
300 further disable the option `-Dprotobuf_MSVC_STATIC_RUNTIME=OFF`.
314 * C4018 - 'expression' : signed/unsigned mismatch
315 * C4146 - unary minus operator applied to unsigned type, result still unsigned
316 * C4244 - Conversion from 'type1' to 'type2', possible loss of data.
317 * C4251 - 'identifier' : class 'type' needs to have dll-interface to be used by
319 * C4267 - Conversion from 'size_t' to 'type', possible loss of data.
320 * C4305 - 'identifier' : truncation from 'type1' to 'type2'
321 * C4355 - 'this' : used in base member initializer list
322 * C4800 - 'type' : forcing value to bool 'true' or 'false' (performance warning)
323 * C4996 - 'function': was declared deprecated