Christian von Arnim
411018e3fb
cmake: Fix DEPENDS of add_custom_command in protobuf_generate
7 years ago
Christian von Arnim
b9c0c5f526
cmake: Add parameter PROTOC_OUT_DIR to protobuf_generate
7 years ago
Christian von Arnim
e8ae76fbde
cmake: Use GENERATE_EXTENSIONS parameter in protobuf_generate
7 years ago
Ben Boeckel
9d0a44c9de
cmake: privately add sources to targets
...
Public sources get added to dependencies of the target as well which can
cause duplicate symbols.
7 years ago
Markus Heß
f7e209951e
protobuf_generate: create include path only for proto files
7 years ago
Markus Heß
9829b8f511
protobuf_generate: add EXPORT_MACRO option
7 years ago
Markus Heß
444aecd35a
fix protobuf_generate function
7 years ago
Walter Gray
0336770801
add protobuf_generate function, allows use of target_sources where available
8 years ago
Konstantin Podsvirov
eefd1fdd48
CMake: Auto find ZLIB from package config if nedded
8 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
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
Feng Xiao
eee38b0c01
Down-integrate from google3.
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