Skip to content

Commit

Permalink
Clean up dependency on proxygen libs (vesoft-inc#488)
Browse files Browse the repository at this point in the history
* Clean up dependency on proxygen libs

* Address comments
  • Loading branch information
dangleptr authored Jun 1, 2019
1 parent 7bdcd1e commit 806528b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,6 @@ macro(nebula_link_libraries target)
target_link_libraries(
${target}
${ARGN}
proxygenhttpserver
proxygenlib
folly
glog
gflags
Expand Down
3 changes: 3 additions & 0 deletions src/daemons/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ add_executable(
nebula-graphd
GraphDaemon.cpp
$<TARGET_OBJECTS:meta_client>
$<TARGET_OBJECTS:graph_http_obj>
$<TARGET_OBJECTS:meta_thrift_obj>
$<TARGET_OBJECTS:graph_obj>
$<TARGET_OBJECTS:base_obj>
Expand Down Expand Up @@ -38,6 +39,7 @@ add_executable(
nebula-storaged
StorageDaemon.cpp
$<TARGET_OBJECTS:storage_service_handler>
$<TARGET_OBJECTS:storage_http_handler>
$<TARGET_OBJECTS:storage_thrift_obj>
$<TARGET_OBJECTS:kvstore_obj>
$<TARGET_OBJECTS:meta_client>
Expand Down Expand Up @@ -69,6 +71,7 @@ add_executable(
nebula-metad
MetaDaemon.cpp
$<TARGET_OBJECTS:meta_service_handler>
$<TARGET_OBJECTS:meta_http_handler>
$<TARGET_OBJECTS:kvstore_obj>
$<TARGET_OBJECTS:schema_obj>
$<TARGET_OBJECTS:meta_client>
Expand Down
6 changes: 4 additions & 2 deletions src/executor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ add_library(
graph_obj OBJECT
GraphFlags.cpp
GraphService.cpp
GraphHttpHandler.cpp
ClientSession.cpp
SessionManager.cpp
ExecutionEngine.cpp
Expand Down Expand Up @@ -40,12 +39,15 @@ add_dependencies(
base_obj
parser_obj
graph_thrift_obj
ws_obj
meta_thrift_obj
meta_client
schema_obj
stats_obj
)

add_library(
graph_http_obj OBJECT
GraphHttpHandler.cpp
)

add_subdirectory(test)
1 change: 1 addition & 0 deletions src/executor/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ add_executable(
TestBase.cpp
GraphHttpHandlerTest.cpp
$<TARGET_OBJECTS:graph_obj>
$<TARGET_OBJECTS:graph_http_obj>
$<TARGET_OBJECTS:client_cpp_obj>
$<TARGET_OBJECTS:base_obj>
$<TARGET_OBJECTS:graph_thrift_obj>
Expand Down

0 comments on commit 806528b

Please sign in to comment.