Skip to content

Commit

Permalink
Generating project file.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasnoble committed Aug 18, 2016
1 parent 40beb37 commit 2069fbc
Showing 1 changed file with 26 additions and 22 deletions.
48 changes: 26 additions & 22 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ if(NOT DEFINED CMAKE_INSTALL_CMAKEDIR)
set(CMAKE_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/gRPC")
endif()


add_library(gpr
src/core/lib/profiling/basic_timers.c
src/core/lib/profiling/stap_timers.c
Expand Down Expand Up @@ -279,6 +279,7 @@ foreach(_hdr
)
endforeach()


if (gRPC_INSTALL)
install(TARGETS gpr EXPORT gRPCTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Expand All @@ -287,6 +288,7 @@ if (gRPC_INSTALL)
)
endif()


add_library(grpc
src/core/lib/surface/init.c
src/core/lib/channel/channel_args.c
Expand Down Expand Up @@ -535,7 +537,7 @@ foreach(_hdr
)
endforeach()


if (gRPC_INSTALL)
install(TARGETS grpc EXPORT gRPCTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Expand All @@ -544,7 +546,7 @@ if (gRPC_INSTALL)
)
endif()


add_library(grpc_cronet
src/core/lib/surface/init.c
src/core/lib/channel/channel_args.c
Expand Down Expand Up @@ -766,7 +768,7 @@ foreach(_hdr
)
endforeach()


if (gRPC_INSTALL)
install(TARGETS grpc_cronet EXPORT gRPCTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Expand All @@ -775,7 +777,7 @@ if (gRPC_INSTALL)
)
endif()


add_library(grpc_unsecure
src/core/lib/surface/init.c
src/core/lib/surface/init_unsecure.c
Expand Down Expand Up @@ -991,8 +993,7 @@ foreach(_hdr
)
endforeach()




if (gRPC_INSTALL)
install(TARGETS grpc_unsecure EXPORT gRPCTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Expand All @@ -1001,7 +1002,7 @@ if (gRPC_INSTALL)
)
endif()


add_library(grpc++
src/cpp/client/secure_credentials.cc
src/cpp/common/auth_property_iterator.cc
Expand Down Expand Up @@ -1162,7 +1163,7 @@ foreach(_hdr
)
endforeach()


if (gRPC_INSTALL)
install(TARGETS grpc++ EXPORT gRPCTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Expand All @@ -1171,7 +1172,7 @@ if (gRPC_INSTALL)
)
endif()


add_library(grpc++_reflection
src/cpp/ext/proto_server_reflection.cc
src/cpp/ext/proto_server_reflection_plugin.cc
Expand Down Expand Up @@ -1257,7 +1258,7 @@ foreach(_hdr
)
endforeach()


if (gRPC_INSTALL)
install(TARGETS grpc++_reflection EXPORT gRPCTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Expand All @@ -1266,7 +1267,7 @@ if (gRPC_INSTALL)
)
endif()


add_library(grpc++_unsecure
src/cpp/common/insecure_create_auth_context.cc
src/cpp/client/channel.cc
Expand Down Expand Up @@ -1423,7 +1424,7 @@ foreach(_hdr
)
endforeach()


if (gRPC_INSTALL)
install(TARGETS grpc++_unsecure EXPORT gRPCTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Expand All @@ -1432,7 +1433,7 @@ if (gRPC_INSTALL)
)
endif()


add_library(grpc_plugin_support
src/compiler/cpp_generator.cc
src/compiler/csharp_generator.cc
Expand Down Expand Up @@ -1465,7 +1466,7 @@ foreach(_hdr
)
endforeach()


if (gRPC_INSTALL)
install(TARGETS grpc_plugin_support EXPORT gRPCTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Expand All @@ -1474,7 +1475,7 @@ if (gRPC_INSTALL)
)
endif()


add_library(grpc_csharp_ext
src/csharp/ext/grpc_csharp_ext.c
)
Expand All @@ -1494,7 +1495,7 @@ target_link_libraries(grpc_csharp_ext
)



if (gRPC_INSTALL)
install(TARGETS grpc_csharp_ext EXPORT gRPCTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Expand Down Expand Up @@ -1525,11 +1526,11 @@ target_link_libraries(gen_hpack_tables


if (gRPC_INSTALL)
install(TARGETS gen_hpack_tables EXPORT gRPCTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
install(TARGETS gen_hpack_tables EXPORT gRPCTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
endif()


Expand Down Expand Up @@ -1813,6 +1814,9 @@ endif()






if (gRPC_INSTALL)
install(EXPORT gRPCTargets
DESTINATION ${CMAKE_INSTALL_CMAKEDIR}
Expand Down

0 comments on commit 2069fbc

Please sign in to comment.