Konstantin Podsvirov
e301946ca4
Simplify testing from CMake project to "check" target
9 years ago
Konstantin Podsvirov
d41601c249
Improved testing from CMake project
...
Build tests optimization
Now lite-test added to CTest collection
9 years ago
Konstantin Podsvirov
0a22fe59b7
Rename CMake option BUILD_SHARED_LIBS to protobuf_BUILD_SHARED_LIBS
9 years ago
Konstantin Podsvirov
620bd7418d
Rename CMake option ZLIB to protobuf_WITH_ZLIB
9 years ago
Konstantin Podsvirov
673d32e093
Rename CMake option BUILD_TESTING to protobuf_BUILD_TESTS
9 years ago
Konstantin Podsvirov
2fa0439b00
Improved testing from CMake project
9 years ago
Konstantin Podsvirov
905f464035
Using NEW behavior for CMP0022 in CMake project
9 years ago
Konstantin Podsvirov
d79e0379f2
Option for switching static runtime link policy with MSVC
9 years ago
Konstantin Podsvirov
20b882d469
Using find_package(ZLIB) with MSVC too
9 years ago
Konstantin Podsvirov
db01460042
Improved configure.ac parsing
9 years ago
Peter Kasting
5d412c47d9
Change to just not marking the class for export
9 years ago
Peter Kasting
6e54999773
Fix compile failures building protobuf DLLs on MSVC in Chromium's codebase.
...
When trying to compile the protobuf code as a DLL, and then compile other DLLs
with generated .pb.cc/h files that reference
InternalMetadataWithArena::InternalMetadataWithArena(Arena*), MSVC gives an
"unresolved external symbol" error. This seems to be due to the function being
simultaneously exported and inline. Moving it out-of-line fixes things.
There are other functions exported and inline as well but de-inlining them
doesn't seem to be necessary to get the build working, and I'd rather de-inline
as few functions as possible.
9 years ago
Bo Yang
ff7bdad231
Fix bugs on windows
9 years ago
Jisi Liu
b90f9f8073
Update cmake and BUILD files.
...
Change-Id: I17e16fdae6e4d2fb74d178fa5564a609ed58af1d
9 years ago
Feng Xiao
b17ec3ca11
Down-integrate from internal code base.
9 years ago
Feng Xiao
eee38b0c01
Down-integrate from google3.
9 years ago
Jisi Liu
b0f661181d
Down-integrate from internal branch.
...
Change-Id: Ieb7a2c2fbf35bc2a8fa65b915a5ecb68c83863e4
9 years ago
Jan Tattermusch
9bdeba479b
only link runtime libraries statically for a static build
9 years ago
Jan Tattermusch
1858ac9b42
make VS build link runtime statically
9 years ago
Konstantin Podsvirov
61e078e803
Install headers from extract_includes for all platforms
9 years ago
Konstantin Podsvirov
5500b0691f
Fix: comment typo
9 years ago
Konstantin Podsvirov
ebfca175e2
Install well-known type proto files from CMake project
9 years ago
Konstantin Podsvirov
0be0789018
CMake installation now compatible with origin FindProtobuf module
9 years ago
Konstantin Podsvirov
743ec448c5
Parsing version from configure.ac for CMake project
9 years ago
Konstantin Podsvirov
82983433cf
Install protobuf from cmake project
...
Additional export as "protobuf" package
for importing from other cmake projects
9 years ago
Tom Hughes
6d72d12575
Set cmake include directories on library targets.
...
cmake targets that depend on these libraries will automatically have
these include directories.
9 years ago
Jisi Liu
12f6e3dd0e
update header list.
...
Change-Id: I75459b8b6562c3ac58fa4b1e4513accdda43ad64
10 years ago
Jisi Liu
7b216119ee
Update make file for extra headers.
...
Change-Id: Ifbc415755266ba3d0ffa5661fcd7c7d2e3b32a22
10 years ago
Jon Skeet
b2ac868493
First part of implementing wrapper types. Not ready yet!
10 years ago
Jisi Liu
bd4bc9e72c
remove pbconfig from extract script
...
Change-Id: I5049da7449cbada781aa1e23485a336b584802cb
10 years ago
Jan Tattermusch
cacbedf04e
export c# naming routines publicly
10 years ago
Jon Skeet
0d684d3420
First pass at map support.
...
More tests required. Generated code in next commit.
10 years ago
Jan Tattermusch
60161997c8
fix typo in cmake/README.md
10 years ago
Jisi Liu
1c42a8b336
Move cmake/update_file_lists.sh preparing for bazel support.
...
Change-Id: Idecb2e3a5169f7b40d832242c9c10b0eb4325654
10 years ago
Feng Xiao
818c5eee08
Fix broken builds.
10 years ago
Jon Skeet
09f3f4eec3
Updates to handle use of cmake for Windows builds.
10 years ago
Jisi Liu
78d470c7a5
Make the code independent of config.h
...
Now the Build tool needs to define -DHAVE_ZLIB and -DHAVE-PTHREAD rather
than providing a config.h
- Make pbconfig.h a manually written file to handle hash conditions
according to platform related macros.
- Remove #include "config.h" from source code.
- Changed the configure.ac and Makefile.am to pass down the macros.
- Change cmake to pass down the the macros.
Change-Id: I537249d5df8fdeba189706aec436d1ab1104a4dc
10 years ago
Feng Xiao
e96ff30120
Down-integrate from internal code base.
...
[ci skip]
Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d
10 years ago
Qartar
2fe6d7bc57
Workaround for MSVC's string literal compiler limit.
...
Escape characters don't count for string literal size, no need to pre-generate escape string.
Added unit test to touch enormous cpp generated descriptor.
Updated makefile to include enormous_descriptor.proto
Fixed language compatibility error.
10 years ago
Feng Xiao
ee6b3d5529
Remove vsprojects.
10 years ago
Feng Xiao
dffd542bb8
Update ./update_file_lists.sh.
...
Make it executable and generate extract_includes.bat in the same directory.
10 years ago
Feng Xiao
e9839ff444
Add back incorrectly excluded cmake targets.
10 years ago
Feng Xiao
2286ab328c
Fix README.md formatting.
...
Change-Id: I121cb70bfdc4894c297ab1a36f1db47736c0652b
10 years ago
Feng Xiao
34448fca45
Add an cmake option to exclude tests.
10 years ago
Feng Xiao
4333edb340
Add cmake support.
10 years ago