Arfrever Frehtes Taifersar Arahesis
bd935e101d
cmake: Call get_filename_component() with DIRECTORY mode instead of PATH mode ( #9614 )
...
PATH mode is legacy alias for DIRECTORY mode (needed only for CMake <= 2.8.11):
https://cmake.org/cmake/help/latest/command/get_filename_component.html
3 years ago
Arfrever Frehtes Taifersar Arahesis
426866285b
cmake: Replace protobuf_source_dir variable with protobuf_SOURCE_DIR variable ( #9596 )
...
protobuf_source_dir variable is no longer needed and has the same value
as protobuf_SOURCE_DIR variable, which is instance of CMake-standard
<PROJECT-NAME>_SOURCE_DIR variable:
https://cmake.org/cmake/help/latest/variable/PROJECT-NAME_SOURCE_DIR.html
3 years ago
Arfrever Frehtes Taifersar Arahesis
14cab5b909
Rename main cmake/CMakeLists.txt to CMakeLists.txt
...
Fixes : #9596
3 years ago
johanmoe
06c8cbea59
Fix cmake install for protoc component ( #8994 )
...
Fixes:
* RUNTIME DESTINATION for protoc TARGET is not given a COMPONENT option
4 years ago
Anton Danielsson
630028a4c6
Fix cmake install on iOS
...
Fixes:
INSTALL TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
4 years ago
Tongliang Liao
5a7a4a52a7
Install examples in `/usr/local/share/protobuf/examples`.
4 years ago
Daniel Joos
c8f76331ab
Adds a CMake option to build `libprotoc` separately ( #7949 )
...
This exposes the variable `protobuf_BUILD_LIBPROTOC` as CMake option to be able to build libprotoc without building the protoc binary.
5 years ago
listonjesse
2ae7cf0e03
Auxillary -> Auxiliary
5 years ago
Carlos O'Ryan
b10d490efd
Fix RPATH when CMAKE_INSTALL_LIBDIR != lib.
...
In some platforms ${CMAKE_INSTALL_LIBDIR} expands to `lib64`. The libraries
are correctly installed in that directory, but the RPATH is set to point to
`$ORIGIN/../lib`, where it should be `$ORIGIN/../lib64`.
6 years ago
Mizux
7306f549bf
CMake OSX rpath management ( #4620 )
...
* CMake: Add comment for CMP0048
* CMake: osx use @rpath/ as target's install name (CMP0042)
On MacoS library should use @rpath/ as prefix path instead of absolute build path
e.g. otool -L libprotobuf.dylib
libprotobuf.dylib:
@rpath/libprotobuf.dylib (...)
...
* CMake: add rpath to target for LINUX and APPLE
7 years ago
Yangqing Jia
cba18efe18
Allow one to omit building libprotoc and protoc binaries
7 years ago
Jisi Liu
759245a49a
Merge from master
8 years ago
Axel Huebl
2f3cf52722
CMake: Install .pc Files
...
Adds pkg-config (`.pc`) files for CMake based installs.
8 years ago
Axel Huebl
668712c58f
CMake: Install .pc Files
...
Adds pkg-config (`.pc`) files for CMake based installs.
8 years ago
Feng Xiao
c94555f955
Double-quote file paths in extract_includes.bat.in
...
This allows the file path to contain spaces which is very common on
windows.
8 years ago
Adnan
154e278a2f
fixed cmake config files install path
...
Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.
This brings us more into line with other langauges, and makes it more
obvious when we are requiring protobuf generated code.
Add a script to build protoc zip packages.
[ci skip]
Change-Id: Ia0e0bf3bb6bd24633dc8f294318bb20ac837f8b9
Ruby: translate package names from snake_case -> PascalCase.
Added unit test for PascalCasing package names in Ruby.
Added new file to ruby_EXTRA_DIST.
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
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
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
Feng Xiao
eee38b0c01
Down-integrate from google3.
10 years ago
Konstantin Podsvirov
61e078e803
Install headers from extract_includes for all platforms
10 years ago
Konstantin Podsvirov
ebfca175e2
Install well-known type proto files from CMake project
10 years ago
Konstantin Podsvirov
0be0789018
CMake installation now compatible with origin FindProtobuf module
10 years ago
Konstantin Podsvirov
82983433cf
Install protobuf from cmake project
...
Additional export as "protobuf" package
for importing from other cmake projects
10 years ago