Commit 0e5262dd authored by Strakhov Egor's avatar Strakhov Egor

push/pull/delete/update mongo document with grpc

parents
Pipeline #10774 failed with stages
in 52 seconds
# Copyright 2018 gRPC authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# cmake build file for C++ route_guide example.
# Assumes protobuf and gRPC have been installed using cmake.
# See cmake_externalproject/CMakeLists.txt for all-in-one cmake build
# that automatically builds all the dependencies before building route_guide.
cmake_minimum_required(VERSION 3.5.1)
set (CMAKE_CXX_STANDARD 11)
if(MSVC)
add_definitions(-D_WIN32_WINNT=0x600)
endif()
find_package(Threads REQUIRED)
if(GRPC_AS_SUBMODULE)
# One way to build a projects that uses gRPC is to just include the
# entire gRPC project tree via "add_subdirectory".
# This approach is very simple to use, but the are some potential
# disadvantages:
# * it includes gRPC's CMakeLists.txt directly into your build script
# without and that can make gRPC's internal setting interfere with your
# own build.
# * depending on what's installed on your system, the contents of submodules
# in gRPC's third_party/* might need to be available (and there might be
# additional prerequisites required to build them). Consider using
# the gRPC_*_PROVIDER options to fine-tune the expected behavior.
#
# A more robust approach to add dependency on gRPC is using
# cmake's ExternalProject_Add (see cmake_externalproject/CMakeLists.txt).
# Include the gRPC's cmake build (normally grpc source code would live
# in a git submodule called "third_party/grpc", but this example lives in
# the same repository as gRPC sources, so we just look a few directories up)
add_subdirectory(../../.. ${CMAKE_CURRENT_BINARY_DIR}/grpc EXCLUDE_FROM_ALL)
message(STATUS "Using gRPC via add_subdirectory.")
# After using add_subdirectory, we can now use the grpc targets directly from
# this build.
set(_PROTOBUF_LIBPROTOBUF libprotobuf)
set(_REFLECTION grpc++_reflection)
if(CMAKE_CROSSCOMPILING)
find_program(_PROTOBUF_PROTOC protoc)
else()
set(_PROTOBUF_PROTOC $<TARGET_FILE:protobuf::protoc>)
endif()
set(_GRPC_GRPCPP grpc++)
if(CMAKE_CROSSCOMPILING)
find_program(_GRPC_CPP_PLUGIN_EXECUTABLE grpc_cpp_plugin)
else()
set(_GRPC_CPP_PLUGIN_EXECUTABLE $<TARGET_FILE:grpc_cpp_plugin>)
endif()
elseif(GRPC_FETCHCONTENT)
# Another way is to use CMake's FetchContent module to clone gRPC at
# configure time. This makes gRPC's source code available to your project,
# similar to a git submodule.
message(STATUS "Using gRPC via add_subdirectory (FetchContent).")
include(FetchContent)
FetchContent_Declare(
grpc
GIT_REPOSITORY https://github.com/grpc/grpc.git
# when using gRPC, you will actually set this to an existing tag, such as
# v1.25.0, v1.26.0 etc..
# For the purpose of testing, we override the tag used to the commit
# that's currently under test.
GIT_TAG vGRPC_TAG_VERSION_OF_YOUR_CHOICE)
FetchContent_MakeAvailable(grpc)
# Since FetchContent uses add_subdirectory under the hood, we can use
# the grpc targets directly from this build.
set(_PROTOBUF_LIBPROTOBUF libprotobuf)
set(_REFLECTION grpc++_reflection)
set(_PROTOBUF_PROTOC $<TARGET_FILE:protoc>)
set(_GRPC_GRPCPP grpc++)
if(CMAKE_CROSSCOMPILING)
find_program(_GRPC_CPP_PLUGIN_EXECUTABLE grpc_cpp_plugin)
else()
set(_GRPC_CPP_PLUGIN_EXECUTABLE $<TARGET_FILE:grpc_cpp_plugin>)
endif()
else()
# This branch assumes that gRPC and all its dependencies are already installed
# on this system, so they can be located by find_package().
# Find Protobuf installation
# Looks for protobuf-config.cmake file installed by Protobuf's cmake installation.
set(protobuf_MODULE_COMPATIBLE TRUE)
find_package(Protobuf CONFIG REQUIRED)
message(STATUS "Using protobuf ${Protobuf_VERSION}")
set(_PROTOBUF_LIBPROTOBUF protobuf::libprotobuf)
set(_REFLECTION gRPC::grpc++_reflection)
if(CMAKE_CROSSCOMPILING)
find_program(_PROTOBUF_PROTOC protoc)
else()
set(_PROTOBUF_PROTOC $<TARGET_FILE:protobuf::protoc>)
endif()
# Find gRPC installation
# Looks for gRPCConfig.cmake file installed by gRPC's cmake installation.
find_package(gRPC CONFIG REQUIRED)
message(STATUS "Using gRPC ${gRPC_VERSION}")
set(_GRPC_GRPCPP gRPC::grpc++)
if(CMAKE_CROSSCOMPILING)
find_program(_GRPC_CPP_PLUGIN_EXECUTABLE grpc_cpp_plugin)
else()
set(_GRPC_CPP_PLUGIN_EXECUTABLE $<TARGET_FILE:gRPC::grpc_cpp_plugin>)
endif()
endif()
# Copyright 2018 gRPC authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# cmake build file for C++ helloworld example.
# Assumes protobuf and gRPC have been installed using cmake.
# See cmake_externalproject/CMakeLists.txt for all-in-one cmake build
# that automatically builds all the dependencies before building helloworld.
cmake_minimum_required(VERSION 3.5.1)
project(MongoDB C CXX)
include(../cmake/common.cmake)
# Proto file
get_filename_component(hw_proto "../../protos/mongo.proto" ABSOLUTE)
get_filename_component(hw_proto_path "${hw_proto}" PATH)
# Generated sources
set(hw_proto_srcs "${CMAKE_CURRENT_BINARY_DIR}/mongo.pb.cc")
set(hw_proto_hdrs "${CMAKE_CURRENT_BINARY_DIR}/mongo.pb.h")
set(hw_grpc_srcs "${CMAKE_CURRENT_BINARY_DIR}/mongo.grpc.pb.cc")
set(hw_grpc_hdrs "${CMAKE_CURRENT_BINARY_DIR}/mongo.grpc.pb.h")
add_custom_command(
OUTPUT "${hw_proto_srcs}" "${hw_proto_hdrs}" "${hw_grpc_srcs}" "${hw_grpc_hdrs}"
COMMAND ${_PROTOBUF_PROTOC}
ARGS --grpc_out "${CMAKE_CURRENT_BINARY_DIR}"
--cpp_out "${CMAKE_CURRENT_BINARY_DIR}"
-I "${hw_proto_path}"
--plugin=protoc-gen-grpc="${_GRPC_CPP_PLUGIN_EXECUTABLE}"
"${hw_proto}"
DEPENDS "${hw_proto}")
# Include generated *.pb.h files
include_directories("${CMAKE_CURRENT_BINARY_DIR}")
find_package(libmongocxx REQUIRED)
find_package(libbsoncxx REQUIRED)
include_directories(${LIBMONGOCXX_INCLUDE_DIR})
include_directories(${LIBBSONCXX_INCLUDE_DIR})
#include_directories("/usr/local/include/mongocxx/v_noabi")
#include_directories("/usr/local/include/bsoncxx/v_noabi")
include_directories("/usr/local/include/libmongoc-1.0")
include_directories("/usr/local/include/libbson-1.0")
include_directories("/usr/local/lib")
# hw_grpc_proto
add_library(hw_grpc_proto
${hw_grpc_srcs}
${hw_grpc_hdrs}
${hw_proto_srcs}
${hw_proto_hdrs})
target_link_libraries(hw_grpc_proto
${_REFLECTION}
${_GRPC_GRPCPP}
${_PROTOBUF_LIBPROTOBUF})
# Targets greeter_[async_](client|server)
foreach(_target
mongo_client mongo_server)
add_executable(${_target} "${_target}.cc")
target_link_libraries(${_target}
hw_grpc_proto
${LIBMONGOCXX_LIBRARIES}
${LIBBSONCXX_LIBRARIES}
${_REFLECTION}
${_GRPC_GRPCPP}
${_PROTOBUF_LIBPROTOBUF})
endforeach()
This diff is collapsed.
set(CMAKE_C_COMPILER "/usr/bin/cc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "GNU")
set(CMAKE_C_COMPILER_VERSION "9.3.0")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
set(CMAKE_C_PLATFORM_ID "Linux")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-9")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-9")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCC 1)
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_C_COMPILER_ENV_VAR "CC")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "8")
set(CMAKE_C_COMPILER_ABI "ELF")
set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_C_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
endif()
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "GNU")
set(CMAKE_CXX_COMPILER_VERSION "9.3.0")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
set(CMAKE_CXX_PLATFORM_ID "Linux")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-9")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-9")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCXX 1)
set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
foreach (lang C OBJC OBJCXX)
if (CMAKE_${lang}_COMPILER_ID_RUN)
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
endforeach()
endif()
endforeach()
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
set(CMAKE_CXX_COMPILER_ABI "ELF")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_CXX_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/9;/usr/include/x86_64-linux-gnu/c++/9;/usr/include/c++/9/backward;/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
set(CMAKE_HOST_SYSTEM "Linux-5.8.0-63-generic")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "5.8.0-63-generic")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Linux-5.8.0-63-generic")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "5.8.0-63-generic")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/egor/gRPC/cpp/mongo")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/egor/gRPC/cpp/mongo/cmake/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_237cb/fast && /usr/bin/make -f CMakeFiles/cmTC_237cb.dir/build.make CMakeFiles/cmTC_237cb.dir/build
make[1]: Entering directory '/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_237cb.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_237cb.dir/src.c.o -c /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_237cb
/home/egor/bin/cmake -E cmake_link_script CMakeFiles/cmTC_237cb.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_237cb.dir/src.c.o -o cmTC_237cb
/usr/bin/ld: CMakeFiles/cmTC_237cb.dir/src.c.o: in function `main':
src.c:(.text+0x46): undefined reference to `pthread_create'
/usr/bin/ld: src.c:(.text+0x52): undefined reference to `pthread_detach'
/usr/bin/ld: src.c:(.text+0x5e): undefined reference to `pthread_cancel'
/usr/bin/ld: src.c:(.text+0x6f): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_237cb.dir/build.make:106: cmTC_237cb] Error 1
make[1]: Leaving directory '/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_237cb/fast] Error 2
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_2cb61/fast && /usr/bin/make -f CMakeFiles/cmTC_2cb61.dir/build.make CMakeFiles/cmTC_2cb61.dir/build
make[1]: Entering directory '/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2cb61.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_2cb61.dir/CheckFunctionExists.c.o -c /home/egor/share/cmake-3.19/Modules/CheckFunctionExists.c
Linking C executable cmTC_2cb61
/home/egor/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2cb61.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_2cb61.dir/CheckFunctionExists.c.o -o cmTC_2cb61 -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_2cb61.dir/build.make:106: cmTC_2cb61] Error 1
make[1]: Leaving directory '/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:140: cmTC_2cb61/fast] Error 2
This diff is collapsed.
# Hashes of file build rules.
ff67d42ebfabbade65b23ea3bef44de6 mongo.pb.cc
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# The generator used is:
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
set(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"/home/egor/.local/lib/cmake/grpc/gRPCConfig.cmake"
"/home/egor/.local/lib/cmake/grpc/gRPCConfigVersion.cmake"
"/home/egor/.local/lib/cmake/grpc/gRPCTargets-noconfig.cmake"
"/home/egor/.local/lib/cmake/grpc/gRPCTargets.cmake"
"/home/egor/.local/lib/cmake/protobuf/protobuf-config-version.cmake"
"/home/egor/.local/lib/cmake/protobuf/protobuf-config.cmake"
"/home/egor/.local/lib/cmake/protobuf/protobuf-options.cmake"
"/home/egor/.local/lib/cmake/protobuf/protobuf-targets-noconfig.cmake"
"/home/egor/.local/lib/cmake/protobuf/protobuf-targets.cmake"
"/home/egor/gRPC/cpp/cmake/common.cmake"
"../../CMakeLists.txt"
"CMakeFiles/3.19.6/CMakeCCompiler.cmake"
"CMakeFiles/3.19.6/CMakeCXXCompiler.cmake"
"CMakeFiles/3.19.6/CMakeSystem.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeCCompiler.cmake.in"
"/home/egor/share/cmake-3.19/Modules/CMakeCCompilerABI.c"
"/home/egor/share/cmake-3.19/Modules/CMakeCInformation.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeCXXCompiler.cmake.in"
"/home/egor/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp"
"/home/egor/share/cmake-3.19/Modules/CMakeCXXInformation.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeCommonLanguageInclude.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeCompilerIdDetection.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeDetermineCCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeDetermineCXXCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeDetermineCompileFeatures.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeDetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeDetermineCompilerABI.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeDetermineCompilerId.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeDetermineSystem.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeFindBinUtils.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeGenericSystem.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeInitializeConfigs.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeLanguageInformation.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeParseImplicitIncludeInfo.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeParseImplicitLinkInfo.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeSystem.cmake.in"
"/home/egor/share/cmake-3.19/Modules/CMakeSystemSpecificInformation.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeSystemSpecificInitialize.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeTestCCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeTestCXXCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeTestCompilerCommon.cmake"
"/home/egor/share/cmake-3.19/Modules/CMakeUnixFindMake.cmake"
"/home/egor/share/cmake-3.19/Modules/CheckCSourceCompiles.cmake"
"/home/egor/share/cmake-3.19/Modules/CheckFunctionExists.c"
"/home/egor/share/cmake-3.19/Modules/CheckIncludeFile.c.in"
"/home/egor/share/cmake-3.19/Modules/CheckIncludeFile.cmake"
"/home/egor/share/cmake-3.19/Modules/CheckLibraryExists.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/ADSP-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/Borland-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/Clang-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/Cray-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/GHS-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/GNU-C.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/GNU-CXX.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/GNU-FindBinUtils.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/GNU.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/HP-C-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/IAR-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/Intel-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/MSVC-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/PGI-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/PathScale-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/SCO-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/TI-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/Watcom-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/XL-C-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
"/home/egor/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake"
"/home/egor/share/cmake-3.19/Modules/FindPackageMessage.cmake"
"/home/egor/share/cmake-3.19/Modules/FindThreads.cmake"
"/home/egor/share/cmake-3.19/Modules/Internal/CheckSourceCompiles.cmake"
"/home/egor/share/cmake-3.19/Modules/Internal/FeatureTesting.cmake"
"/home/egor/share/cmake-3.19/Modules/Platform/Linux-Determine-CXX.cmake"
"/home/egor/share/cmake-3.19/Modules/Platform/Linux-GNU-C.cmake"
"/home/egor/share/cmake-3.19/Modules/Platform/Linux-GNU-CXX.cmake"
"/home/egor/share/cmake-3.19/Modules/Platform/Linux-GNU.cmake"
"/home/egor/share/cmake-3.19/Modules/Platform/Linux.cmake"
"/home/egor/share/cmake-3.19/Modules/Platform/UnixPaths.cmake"
"/usr/local/lib/cmake/libbsoncxx-3.6.5/libbsoncxx-config-version.cmake"
"/usr/local/lib/cmake/libbsoncxx-3.6.5/libbsoncxx-config.cmake"
"/usr/local/lib/cmake/libmongocxx-3.6.5/libmongocxx-config-version.cmake"
"/usr/local/lib/cmake/libmongocxx-3.6.5/libmongocxx-config.cmake"
)
# The corresponding makefile is:
set(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
)
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/3.19.6/CMakeSystem.cmake"
"CMakeFiles/3.19.6/CMakeCCompiler.cmake"
"CMakeFiles/3.19.6/CMakeCXXCompiler.cmake"
"CMakeFiles/3.19.6/CMakeCCompiler.cmake"
"CMakeFiles/3.19.6/CMakeCXXCompiler.cmake"
"CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/hw_grpc_proto.dir/DependInfo.cmake"
"CMakeFiles/mongo_client.dir/DependInfo.cmake"
"CMakeFiles/mongo_server.dir/DependInfo.cmake"
)
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /home/egor/bin/cmake
# The command to remove a file.
RM = /home/egor/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/egor/gRPC/cpp/mongo
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/egor/gRPC/cpp/mongo/cmake/build
#=============================================================================
# Directory level rules for the build root directory
# The main recursive "all" target.
all: CMakeFiles/hw_grpc_proto.dir/all
all: CMakeFiles/mongo_client.dir/all
all: CMakeFiles/mongo_server.dir/all
.PHONY : all
# The main recursive "preinstall" target.
preinstall:
.PHONY : preinstall
# The main recursive "clean" target.
clean: CMakeFiles/hw_grpc_proto.dir/clean
clean: CMakeFiles/mongo_client.dir/clean
clean: CMakeFiles/mongo_server.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/hw_grpc_proto.dir
# All Build rule for target.
CMakeFiles/hw_grpc_proto.dir/all:
$(MAKE) $(MAKESILENT) -f CMakeFiles/hw_grpc_proto.dir/build.make CMakeFiles/hw_grpc_proto.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles/hw_grpc_proto.dir/build.make CMakeFiles/hw_grpc_proto.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles --progress-num=1,2,3,4 "Built target hw_grpc_proto"
.PHONY : CMakeFiles/hw_grpc_proto.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/hw_grpc_proto.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles 4
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/hw_grpc_proto.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles 0
.PHONY : CMakeFiles/hw_grpc_proto.dir/rule
# Convenience name for target.
hw_grpc_proto: CMakeFiles/hw_grpc_proto.dir/rule
.PHONY : hw_grpc_proto
# clean rule for target.
CMakeFiles/hw_grpc_proto.dir/clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/hw_grpc_proto.dir/build.make CMakeFiles/hw_grpc_proto.dir/clean
.PHONY : CMakeFiles/hw_grpc_proto.dir/clean
#=============================================================================
# Target rules for target CMakeFiles/mongo_client.dir
# All Build rule for target.
CMakeFiles/mongo_client.dir/all: CMakeFiles/hw_grpc_proto.dir/all
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_client.dir/build.make CMakeFiles/mongo_client.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_client.dir/build.make CMakeFiles/mongo_client.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles --progress-num=5,6 "Built target mongo_client"
.PHONY : CMakeFiles/mongo_client.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/mongo_client.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles 6
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/mongo_client.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles 0
.PHONY : CMakeFiles/mongo_client.dir/rule
# Convenience name for target.
mongo_client: CMakeFiles/mongo_client.dir/rule
.PHONY : mongo_client
# clean rule for target.
CMakeFiles/mongo_client.dir/clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_client.dir/build.make CMakeFiles/mongo_client.dir/clean
.PHONY : CMakeFiles/mongo_client.dir/clean
#=============================================================================
# Target rules for target CMakeFiles/mongo_server.dir
# All Build rule for target.
CMakeFiles/mongo_server.dir/all: CMakeFiles/hw_grpc_proto.dir/all
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_server.dir/build.make CMakeFiles/mongo_server.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_server.dir/build.make CMakeFiles/mongo_server.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles --progress-num=7,8 "Built target mongo_server"
.PHONY : CMakeFiles/mongo_server.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/mongo_server.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles 6
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/mongo_server.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles 0
.PHONY : CMakeFiles/mongo_server.dir/rule
# Convenience name for target.
mongo_server: CMakeFiles/mongo_server.dir/rule
.PHONY : mongo_server
# clean rule for target.
CMakeFiles/mongo_server.dir/clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_server.dir/build.make CMakeFiles/mongo_server.dir/clean
.PHONY : CMakeFiles/mongo_server.dir/clean
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system
/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/hw_grpc_proto.dir
/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/rebuild_cache.dir
/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/mongo_client.dir
/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/mongo_server.dir
/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/edit_cache.dir
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/home/egor/gRPC/cpp/mongo/cmake/build/mongo.grpc.pb.cc" "/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.o"
"/home/egor/gRPC/cpp/mongo/cmake/build/mongo.pb.cc" "/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.o"
)
set(CMAKE_CXX_COMPILER_ID "GNU")
# Preprocessor definitions for this target.
set(CMAKE_TARGET_DEFINITIONS_CXX
"CARES_STATICLIB"
)
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"."
"/usr/local/include/libmongoc-1.0"
"/usr/local/include/libbson-1.0"
"/usr/local/lib"
"/home/egor/.local/include"
)
# Pairs of files generated by the same build rule.
set(CMAKE_MULTIPLE_OUTPUT_PAIRS
"/home/egor/gRPC/cpp/mongo/cmake/build/mongo.grpc.pb.cc" "/home/egor/gRPC/cpp/mongo/cmake/build/mongo.pb.cc"
"/home/egor/gRPC/cpp/mongo/cmake/build/mongo.grpc.pb.h" "/home/egor/gRPC/cpp/mongo/cmake/build/mongo.pb.cc"
"/home/egor/gRPC/cpp/mongo/cmake/build/mongo.pb.h" "/home/egor/gRPC/cpp/mongo/cmake/build/mongo.pb.cc"
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /home/egor/bin/cmake
# The command to remove a file.
RM = /home/egor/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/egor/gRPC/cpp/mongo
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/egor/gRPC/cpp/mongo/cmake/build
# Include any dependencies generated for this target.
include CMakeFiles/hw_grpc_proto.dir/depend.make
# Include the progress variables for this target.
include CMakeFiles/hw_grpc_proto.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/hw_grpc_proto.dir/flags.make
mongo.pb.cc: /home/egor/gRPC/protos/mongo.proto
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Generating mongo.pb.cc, mongo.pb.h, mongo.grpc.pb.cc, mongo.grpc.pb.h"
/home/egor/.local/bin/protoc-3.15.8.0 --grpc_out /home/egor/gRPC/cpp/mongo/cmake/build --cpp_out /home/egor/gRPC/cpp/mongo/cmake/build -I /home/egor/gRPC/protos --plugin=protoc-gen-grpc="/home/egor/.local/bin/grpc_cpp_plugin" /home/egor/gRPC/protos/mongo.proto
mongo.pb.h: mongo.pb.cc
@$(CMAKE_COMMAND) -E touch_nocreate mongo.pb.h
mongo.grpc.pb.cc: mongo.pb.cc
@$(CMAKE_COMMAND) -E touch_nocreate mongo.grpc.pb.cc
mongo.grpc.pb.h: mongo.pb.cc
@$(CMAKE_COMMAND) -E touch_nocreate mongo.grpc.pb.h
CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.o: CMakeFiles/hw_grpc_proto.dir/flags.make
CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.o: mongo.grpc.pb.cc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.o -c /home/egor/gRPC/cpp/mongo/cmake/build/mongo.grpc.pb.cc
CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/egor/gRPC/cpp/mongo/cmake/build/mongo.grpc.pb.cc > CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.i
CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/egor/gRPC/cpp/mongo/cmake/build/mongo.grpc.pb.cc -o CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.s
CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.o: CMakeFiles/hw_grpc_proto.dir/flags.make
CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.o: mongo.pb.cc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building CXX object CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.o -c /home/egor/gRPC/cpp/mongo/cmake/build/mongo.pb.cc
CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/egor/gRPC/cpp/mongo/cmake/build/mongo.pb.cc > CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.i
CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/egor/gRPC/cpp/mongo/cmake/build/mongo.pb.cc -o CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.s
# Object files for target hw_grpc_proto
hw_grpc_proto_OBJECTS = \
"CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.o" \
"CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.o"
# External object files for target hw_grpc_proto
hw_grpc_proto_EXTERNAL_OBJECTS =
libhw_grpc_proto.a: CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.o
libhw_grpc_proto.a: CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.o
libhw_grpc_proto.a: CMakeFiles/hw_grpc_proto.dir/build.make
libhw_grpc_proto.a: CMakeFiles/hw_grpc_proto.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Linking CXX static library libhw_grpc_proto.a"
$(CMAKE_COMMAND) -P CMakeFiles/hw_grpc_proto.dir/cmake_clean_target.cmake
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/hw_grpc_proto.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/hw_grpc_proto.dir/build: libhw_grpc_proto.a
.PHONY : CMakeFiles/hw_grpc_proto.dir/build
CMakeFiles/hw_grpc_proto.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/hw_grpc_proto.dir/cmake_clean.cmake
.PHONY : CMakeFiles/hw_grpc_proto.dir/clean
CMakeFiles/hw_grpc_proto.dir/depend: mongo.grpc.pb.cc
CMakeFiles/hw_grpc_proto.dir/depend: mongo.grpc.pb.h
CMakeFiles/hw_grpc_proto.dir/depend: mongo.pb.cc
CMakeFiles/hw_grpc_proto.dir/depend: mongo.pb.h
cd /home/egor/gRPC/cpp/mongo/cmake/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/egor/gRPC/cpp/mongo /home/egor/gRPC/cpp/mongo /home/egor/gRPC/cpp/mongo/cmake/build /home/egor/gRPC/cpp/mongo/cmake/build /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/hw_grpc_proto.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/hw_grpc_proto.dir/depend
file(REMOVE_RECURSE
"CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.o"
"CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.o"
"libhw_grpc_proto.a"
"libhw_grpc_proto.pdb"
"mongo.grpc.pb.cc"
"mongo.grpc.pb.h"
"mongo.pb.cc"
"mongo.pb.h"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/hw_grpc_proto.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.o
CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.o
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# compile CXX with /usr/bin/c++
CXX_DEFINES = -DCARES_STATICLIB
CXX_INCLUDES = -I/home/egor/gRPC/cpp/mongo/cmake/build -I/usr/local/include/libmongoc-1.0 -I/usr/local/include/libbson-1.0 -I/usr/local/lib -isystem /home/egor/.local/include
CXX_FLAGS = -std=gnu++11
/usr/bin/ar qc libhw_grpc_proto.a CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.o CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.o
/usr/bin/ranlib libhw_grpc_proto.a
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2
CMAKE_PROGRESS_3 = 3
CMAKE_PROGRESS_4 = 4
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/home/egor/gRPC/cpp/mongo/mongo_client.cc" "/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/mongo_client.dir/mongo_client.cc.o"
)
set(CMAKE_CXX_COMPILER_ID "GNU")
# Preprocessor definitions for this target.
set(CMAKE_TARGET_DEFINITIONS_CXX
"CARES_STATICLIB"
)
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"."
"/usr/local/include/libmongoc-1.0"
"/usr/local/include/libbson-1.0"
"/usr/local/lib"
"/home/egor/.local/include"
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
"/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/hw_grpc_proto.dir/DependInfo.cmake"
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /home/egor/bin/cmake
# The command to remove a file.
RM = /home/egor/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/egor/gRPC/cpp/mongo
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/egor/gRPC/cpp/mongo/cmake/build
# Include any dependencies generated for this target.
include CMakeFiles/mongo_client.dir/depend.make
# Include the progress variables for this target.
include CMakeFiles/mongo_client.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/mongo_client.dir/flags.make
CMakeFiles/mongo_client.dir/mongo_client.cc.o: CMakeFiles/mongo_client.dir/flags.make
CMakeFiles/mongo_client.dir/mongo_client.cc.o: ../../mongo_client.cc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/mongo_client.dir/mongo_client.cc.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/mongo_client.dir/mongo_client.cc.o -c /home/egor/gRPC/cpp/mongo/mongo_client.cc
CMakeFiles/mongo_client.dir/mongo_client.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mongo_client.dir/mongo_client.cc.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/egor/gRPC/cpp/mongo/mongo_client.cc > CMakeFiles/mongo_client.dir/mongo_client.cc.i
CMakeFiles/mongo_client.dir/mongo_client.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mongo_client.dir/mongo_client.cc.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/egor/gRPC/cpp/mongo/mongo_client.cc -o CMakeFiles/mongo_client.dir/mongo_client.cc.s
# Object files for target mongo_client
mongo_client_OBJECTS = \
"CMakeFiles/mongo_client.dir/mongo_client.cc.o"
# External object files for target mongo_client
mongo_client_EXTERNAL_OBJECTS =
mongo_client: CMakeFiles/mongo_client.dir/mongo_client.cc.o
mongo_client: CMakeFiles/mongo_client.dir/build.make
mongo_client: libhw_grpc_proto.a
mongo_client: /usr/local/lib/libmongocxx.so
mongo_client: /usr/local/lib/libbsoncxx.so
mongo_client: /usr/local/lib/libbsoncxx.so
mongo_client: /home/egor/.local/lib/libgrpc++_reflection.a
mongo_client: /home/egor/.local/lib/libgrpc++.a
mongo_client: /home/egor/.local/lib/libprotobuf.a
mongo_client: /home/egor/.local/lib/libgrpc.a
mongo_client: /home/egor/.local/lib/libz.a
mongo_client: /home/egor/.local/lib/libcares.a
mongo_client: /home/egor/.local/lib/libaddress_sorting.a
mongo_client: /home/egor/.local/lib/libre2.a
mongo_client: /home/egor/.local/lib/libabsl_hash.a
mongo_client: /home/egor/.local/lib/libabsl_city.a
mongo_client: /home/egor/.local/lib/libabsl_wyhash.a
mongo_client: /home/egor/.local/lib/libabsl_raw_hash_set.a
mongo_client: /home/egor/.local/lib/libabsl_hashtablez_sampler.a
mongo_client: /home/egor/.local/lib/libabsl_exponential_biased.a
mongo_client: /home/egor/.local/lib/libabsl_statusor.a
mongo_client: /home/egor/.local/lib/libabsl_bad_variant_access.a
mongo_client: /home/egor/.local/lib/libgpr.a
mongo_client: /home/egor/.local/lib/libupb.a
mongo_client: /home/egor/.local/lib/libabsl_status.a
mongo_client: /home/egor/.local/lib/libabsl_cord.a
mongo_client: /home/egor/.local/lib/libabsl_str_format_internal.a
mongo_client: /home/egor/.local/lib/libabsl_synchronization.a
mongo_client: /home/egor/.local/lib/libabsl_stacktrace.a
mongo_client: /home/egor/.local/lib/libabsl_symbolize.a
mongo_client: /home/egor/.local/lib/libabsl_debugging_internal.a
mongo_client: /home/egor/.local/lib/libabsl_demangle_internal.a
mongo_client: /home/egor/.local/lib/libabsl_graphcycles_internal.a
mongo_client: /home/egor/.local/lib/libabsl_malloc_internal.a
mongo_client: /home/egor/.local/lib/libabsl_time.a
mongo_client: /home/egor/.local/lib/libabsl_strings.a
mongo_client: /home/egor/.local/lib/libabsl_throw_delegate.a
mongo_client: /home/egor/.local/lib/libabsl_strings_internal.a
mongo_client: /home/egor/.local/lib/libabsl_base.a
mongo_client: /home/egor/.local/lib/libabsl_spinlock_wait.a
mongo_client: /home/egor/.local/lib/libabsl_int128.a
mongo_client: /home/egor/.local/lib/libabsl_civil_time.a
mongo_client: /home/egor/.local/lib/libabsl_time_zone.a
mongo_client: /home/egor/.local/lib/libabsl_bad_optional_access.a
mongo_client: /home/egor/.local/lib/libabsl_raw_logging_internal.a
mongo_client: /home/egor/.local/lib/libabsl_log_severity.a
mongo_client: /home/egor/.local/lib/libssl.a
mongo_client: /home/egor/.local/lib/libcrypto.a
mongo_client: CMakeFiles/mongo_client.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable mongo_client"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/mongo_client.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/mongo_client.dir/build: mongo_client
.PHONY : CMakeFiles/mongo_client.dir/build
CMakeFiles/mongo_client.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/mongo_client.dir/cmake_clean.cmake
.PHONY : CMakeFiles/mongo_client.dir/clean
CMakeFiles/mongo_client.dir/depend:
cd /home/egor/gRPC/cpp/mongo/cmake/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/egor/gRPC/cpp/mongo /home/egor/gRPC/cpp/mongo /home/egor/gRPC/cpp/mongo/cmake/build /home/egor/gRPC/cpp/mongo/cmake/build /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/mongo_client.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/mongo_client.dir/depend
file(REMOVE_RECURSE
"CMakeFiles/mongo_client.dir/mongo_client.cc.o"
"mongo_client"
"mongo_client.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/mongo_client.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# compile CXX with /usr/bin/c++
CXX_DEFINES = -DCARES_STATICLIB
CXX_INCLUDES = -I/home/egor/gRPC/cpp/mongo/cmake/build -I/usr/local/include/libmongoc-1.0 -I/usr/local/include/libbson-1.0 -I/usr/local/lib -isystem /home/egor/.local/include
CXX_FLAGS = -std=gnu++11
/usr/bin/c++ CMakeFiles/mongo_client.dir/mongo_client.cc.o -o mongo_client -Wl,-rpath,/usr/local/lib libhw_grpc_proto.a /usr/local/lib/libmongocxx.so /usr/local/lib/libbsoncxx.so /usr/local/lib/libbsoncxx.so /home/egor/.local/lib/libgrpc++_reflection.a /home/egor/.local/lib/libgrpc++.a /home/egor/.local/lib/libprotobuf.a /home/egor/.local/lib/libgrpc.a /home/egor/.local/lib/libz.a /home/egor/.local/lib/libcares.a -lnsl /home/egor/.local/lib/libaddress_sorting.a /home/egor/.local/lib/libre2.a /home/egor/.local/lib/libabsl_hash.a /home/egor/.local/lib/libabsl_city.a /home/egor/.local/lib/libabsl_wyhash.a /home/egor/.local/lib/libabsl_raw_hash_set.a /home/egor/.local/lib/libabsl_hashtablez_sampler.a /home/egor/.local/lib/libabsl_exponential_biased.a /home/egor/.local/lib/libabsl_statusor.a /home/egor/.local/lib/libabsl_bad_variant_access.a /home/egor/.local/lib/libgpr.a /home/egor/.local/lib/libupb.a -ldl -lrt -lm /home/egor/.local/lib/libabsl_status.a /home/egor/.local/lib/libabsl_cord.a /home/egor/.local/lib/libabsl_str_format_internal.a /home/egor/.local/lib/libabsl_synchronization.a /home/egor/.local/lib/libabsl_stacktrace.a /home/egor/.local/lib/libabsl_symbolize.a /home/egor/.local/lib/libabsl_debugging_internal.a /home/egor/.local/lib/libabsl_demangle_internal.a /home/egor/.local/lib/libabsl_graphcycles_internal.a /home/egor/.local/lib/libabsl_malloc_internal.a /home/egor/.local/lib/libabsl_time.a /home/egor/.local/lib/libabsl_strings.a /home/egor/.local/lib/libabsl_throw_delegate.a /home/egor/.local/lib/libabsl_strings_internal.a /home/egor/.local/lib/libabsl_base.a /home/egor/.local/lib/libabsl_spinlock_wait.a -lrt /home/egor/.local/lib/libabsl_int128.a /home/egor/.local/lib/libabsl_civil_time.a /home/egor/.local/lib/libabsl_time_zone.a /home/egor/.local/lib/libabsl_bad_optional_access.a /home/egor/.local/lib/libabsl_raw_logging_internal.a /home/egor/.local/lib/libabsl_log_severity.a /home/egor/.local/lib/libssl.a /home/egor/.local/lib/libcrypto.a -lpthread -lpthread
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/home/egor/gRPC/cpp/mongo/mongo_server.cc" "/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/mongo_server.dir/mongo_server.cc.o"
)
set(CMAKE_CXX_COMPILER_ID "GNU")
# Preprocessor definitions for this target.
set(CMAKE_TARGET_DEFINITIONS_CXX
"CARES_STATICLIB"
)
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"."
"/usr/local/include/libmongoc-1.0"
"/usr/local/include/libbson-1.0"
"/usr/local/lib"
"/home/egor/.local/include"
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
"/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/hw_grpc_proto.dir/DependInfo.cmake"
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /home/egor/bin/cmake
# The command to remove a file.
RM = /home/egor/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/egor/gRPC/cpp/mongo
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/egor/gRPC/cpp/mongo/cmake/build
# Include any dependencies generated for this target.
include CMakeFiles/mongo_server.dir/depend.make
# Include the progress variables for this target.
include CMakeFiles/mongo_server.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/mongo_server.dir/flags.make
CMakeFiles/mongo_server.dir/mongo_server.cc.o: CMakeFiles/mongo_server.dir/flags.make
CMakeFiles/mongo_server.dir/mongo_server.cc.o: ../../mongo_server.cc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/mongo_server.dir/mongo_server.cc.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/mongo_server.dir/mongo_server.cc.o -c /home/egor/gRPC/cpp/mongo/mongo_server.cc
CMakeFiles/mongo_server.dir/mongo_server.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mongo_server.dir/mongo_server.cc.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/egor/gRPC/cpp/mongo/mongo_server.cc > CMakeFiles/mongo_server.dir/mongo_server.cc.i
CMakeFiles/mongo_server.dir/mongo_server.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mongo_server.dir/mongo_server.cc.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/egor/gRPC/cpp/mongo/mongo_server.cc -o CMakeFiles/mongo_server.dir/mongo_server.cc.s
# Object files for target mongo_server
mongo_server_OBJECTS = \
"CMakeFiles/mongo_server.dir/mongo_server.cc.o"
# External object files for target mongo_server
mongo_server_EXTERNAL_OBJECTS =
mongo_server: CMakeFiles/mongo_server.dir/mongo_server.cc.o
mongo_server: CMakeFiles/mongo_server.dir/build.make
mongo_server: libhw_grpc_proto.a
mongo_server: /usr/local/lib/libmongocxx.so
mongo_server: /usr/local/lib/libbsoncxx.so
mongo_server: /usr/local/lib/libbsoncxx.so
mongo_server: /home/egor/.local/lib/libgrpc++_reflection.a
mongo_server: /home/egor/.local/lib/libgrpc++.a
mongo_server: /home/egor/.local/lib/libprotobuf.a
mongo_server: /home/egor/.local/lib/libgrpc.a
mongo_server: /home/egor/.local/lib/libz.a
mongo_server: /home/egor/.local/lib/libcares.a
mongo_server: /home/egor/.local/lib/libaddress_sorting.a
mongo_server: /home/egor/.local/lib/libre2.a
mongo_server: /home/egor/.local/lib/libabsl_hash.a
mongo_server: /home/egor/.local/lib/libabsl_city.a
mongo_server: /home/egor/.local/lib/libabsl_wyhash.a
mongo_server: /home/egor/.local/lib/libabsl_raw_hash_set.a
mongo_server: /home/egor/.local/lib/libabsl_hashtablez_sampler.a
mongo_server: /home/egor/.local/lib/libabsl_exponential_biased.a
mongo_server: /home/egor/.local/lib/libabsl_statusor.a
mongo_server: /home/egor/.local/lib/libabsl_bad_variant_access.a
mongo_server: /home/egor/.local/lib/libgpr.a
mongo_server: /home/egor/.local/lib/libupb.a
mongo_server: /home/egor/.local/lib/libabsl_status.a
mongo_server: /home/egor/.local/lib/libabsl_cord.a
mongo_server: /home/egor/.local/lib/libabsl_str_format_internal.a
mongo_server: /home/egor/.local/lib/libabsl_synchronization.a
mongo_server: /home/egor/.local/lib/libabsl_stacktrace.a
mongo_server: /home/egor/.local/lib/libabsl_symbolize.a
mongo_server: /home/egor/.local/lib/libabsl_debugging_internal.a
mongo_server: /home/egor/.local/lib/libabsl_demangle_internal.a
mongo_server: /home/egor/.local/lib/libabsl_graphcycles_internal.a
mongo_server: /home/egor/.local/lib/libabsl_malloc_internal.a
mongo_server: /home/egor/.local/lib/libabsl_time.a
mongo_server: /home/egor/.local/lib/libabsl_strings.a
mongo_server: /home/egor/.local/lib/libabsl_throw_delegate.a
mongo_server: /home/egor/.local/lib/libabsl_strings_internal.a
mongo_server: /home/egor/.local/lib/libabsl_base.a
mongo_server: /home/egor/.local/lib/libabsl_spinlock_wait.a
mongo_server: /home/egor/.local/lib/libabsl_int128.a
mongo_server: /home/egor/.local/lib/libabsl_civil_time.a
mongo_server: /home/egor/.local/lib/libabsl_time_zone.a
mongo_server: /home/egor/.local/lib/libabsl_bad_optional_access.a
mongo_server: /home/egor/.local/lib/libabsl_raw_logging_internal.a
mongo_server: /home/egor/.local/lib/libabsl_log_severity.a
mongo_server: /home/egor/.local/lib/libssl.a
mongo_server: /home/egor/.local/lib/libcrypto.a
mongo_server: CMakeFiles/mongo_server.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable mongo_server"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/mongo_server.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/mongo_server.dir/build: mongo_server
.PHONY : CMakeFiles/mongo_server.dir/build
CMakeFiles/mongo_server.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/mongo_server.dir/cmake_clean.cmake
.PHONY : CMakeFiles/mongo_server.dir/clean
CMakeFiles/mongo_server.dir/depend:
cd /home/egor/gRPC/cpp/mongo/cmake/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/egor/gRPC/cpp/mongo /home/egor/gRPC/cpp/mongo /home/egor/gRPC/cpp/mongo/cmake/build /home/egor/gRPC/cpp/mongo/cmake/build /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles/mongo_server.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/mongo_server.dir/depend
file(REMOVE_RECURSE
"CMakeFiles/mongo_server.dir/mongo_server.cc.o"
"mongo_server"
"mongo_server.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/mongo_server.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# compile CXX with /usr/bin/c++
CXX_DEFINES = -DCARES_STATICLIB
CXX_INCLUDES = -I/home/egor/gRPC/cpp/mongo/cmake/build -I/usr/local/include/libmongoc-1.0 -I/usr/local/include/libbson-1.0 -I/usr/local/lib -isystem /home/egor/.local/include
CXX_FLAGS = -std=gnu++11
/usr/bin/c++ CMakeFiles/mongo_server.dir/mongo_server.cc.o -o mongo_server -Wl,-rpath,/usr/local/lib libhw_grpc_proto.a /usr/local/lib/libmongocxx.so /usr/local/lib/libbsoncxx.so /usr/local/lib/libbsoncxx.so /home/egor/.local/lib/libgrpc++_reflection.a /home/egor/.local/lib/libgrpc++.a /home/egor/.local/lib/libprotobuf.a /home/egor/.local/lib/libgrpc.a /home/egor/.local/lib/libz.a /home/egor/.local/lib/libcares.a -lnsl /home/egor/.local/lib/libaddress_sorting.a /home/egor/.local/lib/libre2.a /home/egor/.local/lib/libabsl_hash.a /home/egor/.local/lib/libabsl_city.a /home/egor/.local/lib/libabsl_wyhash.a /home/egor/.local/lib/libabsl_raw_hash_set.a /home/egor/.local/lib/libabsl_hashtablez_sampler.a /home/egor/.local/lib/libabsl_exponential_biased.a /home/egor/.local/lib/libabsl_statusor.a /home/egor/.local/lib/libabsl_bad_variant_access.a /home/egor/.local/lib/libgpr.a /home/egor/.local/lib/libupb.a -ldl -lrt -lm /home/egor/.local/lib/libabsl_status.a /home/egor/.local/lib/libabsl_cord.a /home/egor/.local/lib/libabsl_str_format_internal.a /home/egor/.local/lib/libabsl_synchronization.a /home/egor/.local/lib/libabsl_stacktrace.a /home/egor/.local/lib/libabsl_symbolize.a /home/egor/.local/lib/libabsl_debugging_internal.a /home/egor/.local/lib/libabsl_demangle_internal.a /home/egor/.local/lib/libabsl_graphcycles_internal.a /home/egor/.local/lib/libabsl_malloc_internal.a /home/egor/.local/lib/libabsl_time.a /home/egor/.local/lib/libabsl_strings.a /home/egor/.local/lib/libabsl_throw_delegate.a /home/egor/.local/lib/libabsl_strings_internal.a /home/egor/.local/lib/libabsl_base.a /home/egor/.local/lib/libabsl_spinlock_wait.a -lrt /home/egor/.local/lib/libabsl_int128.a /home/egor/.local/lib/libabsl_civil_time.a /home/egor/.local/lib/libabsl_time_zone.a /home/egor/.local/lib/libabsl_bad_optional_access.a /home/egor/.local/lib/libabsl_raw_logging_internal.a /home/egor/.local/lib/libabsl_log_severity.a /home/egor/.local/lib/libssl.a /home/egor/.local/lib/libcrypto.a -lpthread -lpthread
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /home/egor/bin/cmake
# The command to remove a file.
RM = /home/egor/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/egor/gRPC/cpp/mongo
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/egor/gRPC/cpp/mongo/cmake/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/home/egor/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
/home/egor/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles /home/egor/gRPC/cpp/mongo/cmake/build//CMakeFiles/progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/egor/gRPC/cpp/mongo/cmake/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named hw_grpc_proto
# Build rule for target.
hw_grpc_proto: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 hw_grpc_proto
.PHONY : hw_grpc_proto
# fast build rule for target.
hw_grpc_proto/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/hw_grpc_proto.dir/build.make CMakeFiles/hw_grpc_proto.dir/build
.PHONY : hw_grpc_proto/fast
#=============================================================================
# Target rules for targets named mongo_client
# Build rule for target.
mongo_client: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 mongo_client
.PHONY : mongo_client
# fast build rule for target.
mongo_client/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_client.dir/build.make CMakeFiles/mongo_client.dir/build
.PHONY : mongo_client/fast
#=============================================================================
# Target rules for targets named mongo_server
# Build rule for target.
mongo_server: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 mongo_server
.PHONY : mongo_server
# fast build rule for target.
mongo_server/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_server.dir/build.make CMakeFiles/mongo_server.dir/build
.PHONY : mongo_server/fast
mongo.grpc.pb.o: mongo.grpc.pb.cc.o
.PHONY : mongo.grpc.pb.o
# target to build an object file
mongo.grpc.pb.cc.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/hw_grpc_proto.dir/build.make CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.o
.PHONY : mongo.grpc.pb.cc.o
mongo.grpc.pb.i: mongo.grpc.pb.cc.i
.PHONY : mongo.grpc.pb.i
# target to preprocess a source file
mongo.grpc.pb.cc.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/hw_grpc_proto.dir/build.make CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.i
.PHONY : mongo.grpc.pb.cc.i
mongo.grpc.pb.s: mongo.grpc.pb.cc.s
.PHONY : mongo.grpc.pb.s
# target to generate assembly for a file
mongo.grpc.pb.cc.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/hw_grpc_proto.dir/build.make CMakeFiles/hw_grpc_proto.dir/mongo.grpc.pb.cc.s
.PHONY : mongo.grpc.pb.cc.s
mongo.pb.o: mongo.pb.cc.o
.PHONY : mongo.pb.o
# target to build an object file
mongo.pb.cc.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/hw_grpc_proto.dir/build.make CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.o
.PHONY : mongo.pb.cc.o
mongo.pb.i: mongo.pb.cc.i
.PHONY : mongo.pb.i
# target to preprocess a source file
mongo.pb.cc.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/hw_grpc_proto.dir/build.make CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.i
.PHONY : mongo.pb.cc.i
mongo.pb.s: mongo.pb.cc.s
.PHONY : mongo.pb.s
# target to generate assembly for a file
mongo.pb.cc.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/hw_grpc_proto.dir/build.make CMakeFiles/hw_grpc_proto.dir/mongo.pb.cc.s
.PHONY : mongo.pb.cc.s
mongo_client.o: mongo_client.cc.o
.PHONY : mongo_client.o
# target to build an object file
mongo_client.cc.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_client.dir/build.make CMakeFiles/mongo_client.dir/mongo_client.cc.o
.PHONY : mongo_client.cc.o
mongo_client.i: mongo_client.cc.i
.PHONY : mongo_client.i
# target to preprocess a source file
mongo_client.cc.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_client.dir/build.make CMakeFiles/mongo_client.dir/mongo_client.cc.i
.PHONY : mongo_client.cc.i
mongo_client.s: mongo_client.cc.s
.PHONY : mongo_client.s
# target to generate assembly for a file
mongo_client.cc.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_client.dir/build.make CMakeFiles/mongo_client.dir/mongo_client.cc.s
.PHONY : mongo_client.cc.s
mongo_server.o: mongo_server.cc.o
.PHONY : mongo_server.o
# target to build an object file
mongo_server.cc.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_server.dir/build.make CMakeFiles/mongo_server.dir/mongo_server.cc.o
.PHONY : mongo_server.cc.o
mongo_server.i: mongo_server.cc.i
.PHONY : mongo_server.i
# target to preprocess a source file
mongo_server.cc.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_server.dir/build.make CMakeFiles/mongo_server.dir/mongo_server.cc.i
.PHONY : mongo_server.cc.i
mongo_server.s: mongo_server.cc.s
.PHONY : mongo_server.s
# target to generate assembly for a file
mongo_server.cc.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/mongo_server.dir/build.make CMakeFiles/mongo_server.dir/mongo_server.cc.s
.PHONY : mongo_server.cc.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... hw_grpc_proto"
@echo "... mongo_client"
@echo "... mongo_server"
@echo "... mongo.grpc.pb.o"
@echo "... mongo.grpc.pb.i"
@echo "... mongo.grpc.pb.s"
@echo "... mongo.pb.o"
@echo "... mongo.pb.i"
@echo "... mongo.pb.s"
@echo "... mongo_client.o"
@echo "... mongo_client.i"
@echo "... mongo_client.s"
@echo "... mongo_server.o"
@echo "... mongo_server.i"
@echo "... mongo_server.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system
# Install script for directory: /home/egor/gRPC/cpp/mongo
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
# Set default install directory permissions.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()
if(CMAKE_INSTALL_COMPONENT)
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
else()
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
file(WRITE "/home/egor/gRPC/cpp/mongo/cmake/build/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment