noahdietz
5abf802bc2
Replace master with main in URLs & docs
3 years ago
Florin Crișan
9ebb31726c
Add option to use external GTest in CMake ( #8736 )
...
If `-Dprotobuf_USE_EXTERNAL_GTEST=ON` is passed to CMake, it will use an external Google Test copy (i.e. by calling `find_package(GTest REQUIRED)`) rather than the one provided as a submodule.
This makes sense for larger projects that might already include Google Test and want to use a more standard CMake approach.
Also updated build instructions with this information, and more idiomatic usage.
Co-authored-by: Adam Cozzette <acozzette@google.com>
3 years ago
Florin Crișan
18c951efb1
Enable testing via CTest ( #8737 )
...
Convenience feature: enable users to test via the familiar `ctest` command rather than making the `check` target.
They would be able to use the familiar CMake pattern:
```
cmake -S source/protobuf -B build/protobuf ...
cmake --build build/protobuf
ctest --test-dir build/protobuf
cmake --install build/protobuf
```
This is a follow-up to 9f447fc9d3da93da29b8301f1a8ca57b1ea812d7
3 years ago
Stephen Kennedy
8495372e1e
[cleanup] Msvc warnings ( #9263 )
...
* Fix and reenable signed/unsigned warning C4018
* Only disable unary minus warning C4146 in tests
3 years ago
Ron Klein
a076adc20f
documentation: fix path for fetching submodules
4 years ago
listonjesse
2ae7cf0e03
Auxillary -> Auxiliary
5 years ago
Daniel Johansen
e93dea7746
update Cmake example to build Visual Studio to newest 2019 version.
5 years ago
debugx
9fdb2cf2bb
fixed typo
5 years ago
Xiang Dai
e479410564
delete all duplicate empty blanks ( #5758 )
...
Signed-off-by: Xiang Dai <764524258@qq.com>
6 years ago
dyyap
436139803f
Updated README.md ( #5366 )
...
* Update README.md
6 years ago
Feng Xiao
afe98de32a
Replace repo links.
6 years ago
Feng Xiao
014e76e2cd
Update instructions about getting protobuf source.
7 years ago
Carlos O'Ryan
3c5442a95d
Include googletest as a submodule ( #3993 )
...
Add googletest as a submodule in third_party/googletest.
7 years ago
Abdul Sami
fe33c5fe9d
Added instruction for existing ZLIB configuration
...
Using two configuration flags `DZLIB_INCLUDE_DIR` and `DZLIB_LIB` we can locate an existing ZLIB on the system
7 years ago
Josh Haberman
fe96a215d9
Clarified that 'nmake' must be run before 'nmake check'.
9 years ago
Dongjoon Hyun
7b08d49e9d
Fix typos in README.md/CHANGES.txt
9 years ago
Leif Gruenwoldt
a9e6a8f61d
Change back to "protobuf_BUILD_TESTS" flag
...
In anticipation of PR #753 getting merged we'll change this back. However until that PR gets merged the old value "BUILD_TESTS" is really needed.
9 years ago
Leif Gruenwoldt
24e2d8c2f1
Fix typos in cmake README.md
9 years ago
Konstantin Podsvirov
0f21c538be
Update cmake/README.md for #783 PR
9 years ago
Jan Tattermusch
60161997c8
fix typo in cmake/README.md
10 years ago
Feng Xiao
e96ff30120
Down-integrate from internal code base.
...
[ci skip]
Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d
10 years ago
Feng Xiao
ee6b3d5529
Remove vsprojects.
10 years ago
Feng Xiao
2286ab328c
Fix README.md formatting.
...
Change-Id: I121cb70bfdc4894c297ab1a36f1db47736c0652b
10 years ago
Feng Xiao
4333edb340
Add cmake support.
10 years ago
Feng Xiao
78c8200655
Describe how to get gtest source for Visual Studio users.
10 years ago
kenton@google.com
9270a99d2e
Make DLLs work again.
16 years ago
kenton@google.com
e6607e3963
Update MSVC project files for recent changes. Added new projects for libprotobuf-lite and the lite test.
16 years ago
kenton@google.com
50ede8ba17
Update MSVC project files for rev 120, and add instructions for compiling with zlib.
16 years ago
Jon Skeet
f0589506c9
Wiping slate clean to start again with new layout.
16 years ago
kenton@google.com
580cf3c47c
Update MSVC installation instructions for static linking change.
16 years ago
kenton@google.com
9b10f5845a
* Fix build on MSVC.
...
* Switch to statically-linked libraries instead of DLLs on MSVC.
16 years ago
Jon Skeet
f92c545f49
Initial commit of C# code developed before installing Git.
...
committer: Jon Skeet <skeet@pobox.com>
17 years ago
temporal
cc930432c2
misc. stuff:
...
- Improved readmes.
- Fixed incorrect definition of kint32min.
- Fixed absolute output paths on Windows.
- Added info to Java POM that will be required when we upload the
package to a Maven repo.
17 years ago
temporal
40ee551715
Initial checkin.
17 years ago