Walter Gray
78b3498bf4
Save the relevant options used to create a package, allow users to reject packages based on them.
9 years ago
Walter Gray
5ebcfc1cfd
Fix prerelease version matching to be more consistent with the find_package arguments.
9 years ago
Walter Gray
cadfbc8e2f
Removed handling for ALIASED targets since they are unused.
9 years ago
Walter Gray
23fef56e6d
Replace handwritten protobuf-targets with exported version.
9 years ago
Walter Gray
09f6a5c1d2
Use ExternalProject_Add to build the examples in a stand-alone fashion.
9 years ago
Konstantin Podsvirov
71556295ff
CMake project updates
...
A series of improvements:
- Improved Protobuf module compatibility (disabled by default);
- Hide advanced settings;
- Added build tree configuration;
- Added build of examples.
9 years ago
Bo Yang
20b532544f
Integrate interanl changes
9 years ago
Walter Gray
0420eab173
For prerelease versions, require protobuf_FIND_VERSION to be set.
9 years ago
Walter Gray
f1091ab1aa
Include the prerelease version in the protobuf_VERSION
9 years ago
Walter Gray
457a2975f4
Remove __PROTOBUF_PACKAGE_PREFIX
9 years ago
Walter Gray
d13b3d0d96
remove useless cleanup - config.cmake files are executed in their own context.
9 years ago
Walter Gray
c57c6eabf7
Bump to the *real* minimum required version. Setting CMP0022 breaks CMake versions < 2.8.12
9 years ago
Walter Gray
04265e40da
Remove if(TRUE)
9 years ago
Jeff Merver
733ef986e5
added missing closing bracket for _cmakedir_desc in cmake/install.cmake line 88
9 years ago
Walter Gray
28f35b4f16
add protobuf:: namespace to installed targets
9 years ago
Walter Gray
02a28a8fea
Update protobuf-config-version.cmake.in to correctly set the required variables (PACKAGE_VERSION_EXACT, PACKAGE_VERSION_COMPATIBLE, PACKAGE_VERSION_UNSUITABLE)
9 years ago
Walter Gray
7d79458fc5
Fix the cmake configuration file install path to be more standards compliant (See the description of cmake's config search behavior on https://cmake.org/cmake/help/v3.4/command/find_package.html )
9 years ago
Jisi Liu
f86d39c295
Update file lists.
9 years ago
Jisi Liu
1f4f3e26bd
Update file list to include the missing extension lite file.
9 years ago
Gaurav Vaish
74d8b0bebc
Added access_level for types
...
* `csharp_options`: Added `Options` to encapsulate generator options.
Supported options for now - file_extension, base_namespace
* `{Blah}Generator`: Now accept `Options*` as parameter to constructor
* `csharp_generator.cc`: Parse and populate options
* `Makefile.am`: Added `csharp_options.h`
* `extract_includes.bat.in`: Added `csharp_options.h`
Refactoring code to two commits. This is the first commit
9 years ago
Jisi Liu
3b6df0612d
Allow bigobj for map_unittest
9 years ago
Josh Haberman
fe96a215d9
Clarified that 'nmake' must be run before 'nmake check'.
9 years ago
Jisi Liu
5221dcbe47
Integrate from google internal.
...
Java files are moved to un-do the hack in the prevous commit, which
moved the java files to the original position for integration.
9 years ago
Dongjoon Hyun
7b08d49e9d
Fix typos in README.md/CHANGES.txt
9 years ago
Feng Xiao
ef6c72b46b
Update BUILD/cmake files.
...
Change-Id: I6fa9f1b65d6c06b891aabf3f3d868364d74d727d
9 years ago
Feng Xiao
e841bac4fc
Down-integrate from internal code base.
9 years ago
Benjamin Bennett
9fc4d90cab
MSVC MP flag to build with multiple processes in visual studio.
9 years ago
Jon Skeet
a6361a124a
Rename "umbrella" to "reflection" consistently.
...
This changes csharp_names.h, which will require a corresponding change in GRPC.
9 years ago
Doug Kwan
2a50e67c78
Add support for POWER Linux
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
c3aa4c2675
Improved SHARED build from CMake project
9 years ago
Konstantin Podsvirov
0f21c538be
Update cmake/README.md for #783 PR
9 years ago
Jon Skeet
67dd42c50d
First pass at generating XML documentation from .proto comments.
...
This could be tidied up significantly, and at some point we will want to parse the markdown and generate more appropriate XML - but this is definitely better than nothing.
Generated code changes coming in next commit.
9 years ago
Konstantin Podsvirov
f397ede7c6
Add CMake option protobuf_DEBUG_POSTFIX
9 years ago
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