Lines Matching +full:cmake +full:- +full:unix
3 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/protobuf.pc.cmake
5 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/protobuf-lite.pc.cmake
6 ${CMAKE_CURRENT_BINARY_DIR}/protobuf-lite.pc @ONLY)
8 set(_protobuf_libraries libprotobuf-lite libprotobuf)
18 if (UNIX AND NOT APPLE)
25 install(TARGETS ${_library} EXPORT protobuf-targets
32 install(TARGETS protoc EXPORT protobuf-targets
35 if (UNIX AND NOT APPLE)
44 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/protobuf.pc ${CMAKE_CURRENT_BINARY_DIR}/protobuf-lite.pc …
46 file(STRINGS ${protobuf_SOURCE_DIR}/cmake/extract_includes.bat.in _extract_strings
58 COMPONENT protobuf-headers
62 "\"${protobuf_SOURCE_DIR}/cmake/extract_includes.bat.in\" "
76 string(SUBSTRING "${_string}" ${_length} -1 _draft_list)
86 # Install well-known type proto files
95 COMPONENT protobuf-protos
105 set(_cmakedir_desc "Directory relative to CMAKE_INSTALL to install the cmake configuration files")
108 …set(CMAKE_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/protobuf" CACHE STRING "${_cmakedir_desc…
111 set(CMAKE_INSTALL_CMAKEDIR "cmake" CACHE STRING "${_cmakedir_desc}")
117 configure_file(${protobuf_SOURCE_DIR}/cmake/protobuf-config.cmake.in
118 ${CMAKE_INSTALL_CMAKEDIR}/protobuf-config.cmake @ONLY)
119 configure_file(${protobuf_SOURCE_DIR}/cmake/protobuf-config-version.cmake.in
120 ${CMAKE_INSTALL_CMAKEDIR}/protobuf-config-version.cmake @ONLY)
121 configure_file(${protobuf_SOURCE_DIR}/cmake/protobuf-module.cmake.in
122 ${CMAKE_INSTALL_CMAKEDIR}/protobuf-module.cmake @ONLY)
123 configure_file(${protobuf_SOURCE_DIR}/cmake/protobuf-options.cmake
124 ${CMAKE_INSTALL_CMAKEDIR}/protobuf-options.cmake @ONLY)
129 export(TARGETS libprotobuf-lite libprotobuf libprotoc protoc
131 FILE ${CMAKE_INSTALL_CMAKEDIR}/protobuf-targets.cmake
134 export(TARGETS libprotobuf-lite libprotobuf
136 FILE ${CMAKE_INSTALL_CMAKEDIR}/protobuf-targets.cmake
140 install(EXPORT protobuf-targets
143 COMPONENT protobuf-export)
147 COMPONENT protobuf-export
148 PATTERN protobuf-targets.cmake EXCLUDE
155 COMPONENT protobuf-examples)