Walter Gray
4150a91c14
make protobuf_MSVC_STATIC_RUNTIME a dependent option to reflect it's use.
9 years ago
Walter Gray
23fef56e6d
Replace handwritten protobuf-targets with exported version.
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
Walter Gray
f1091ab1aa
Include the prerelease version in the protobuf_VERSION
9 years ago
Walter Gray
c57c6eabf7
Bump to the *real* minimum required version. Setting CMP0022 breaks CMake versions < 2.8.12
9 years ago
Jisi Liu
3b6df0612d
Allow bigobj for map_unittest
9 years ago
Benjamin Bennett
9fc4d90cab
MSVC MP flag to build with multiple processes in visual studio.
9 years ago
Konstantin Podsvirov
c3aa4c2675
Improved SHARED build from CMake project
9 years ago
Konstantin Podsvirov
f397ede7c6
Add CMake option protobuf_DEBUG_POSTFIX
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
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
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
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
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
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
34448fca45
Add an cmake option to exclude tests.
10 years ago
Feng Xiao
4333edb340
Add cmake support.
10 years ago