From 7f3e62594159d4e09f780554462f0dea2f5c35cf Mon Sep 17 00:00:00 2001 From: nebula-bots <88429921+nebula-bots@users.noreply.github.com> Date: Thu, 2 Sep 2021 16:57:10 +0800 Subject: [PATCH] Rename graph context object target (#10) Co-authored-by: yixinglu <2520865+yixinglu@users.noreply.github.com> --- src/daemons/CMakeLists.txt | 2 +- src/graph/context/CMakeLists.txt | 2 +- src/graph/context/test/CMakeLists.txt | 2 +- src/graph/executor/test/CMakeLists.txt | 2 +- src/graph/optimizer/test/CMakeLists.txt | 2 +- src/graph/planner/test/CMakeLists.txt | 2 +- src/graph/util/test/CMakeLists.txt | 2 +- src/graph/validator/test/CMakeLists.txt | 2 +- src/graph/visitor/test/CMakeLists.txt | 2 +- src/parser/test/CMakeLists.txt | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/daemons/CMakeLists.txt b/src/daemons/CMakeLists.txt index ab3e4e1ea84..5e9563d0ab9 100644 --- a/src/daemons/CMakeLists.txt +++ b/src/daemons/CMakeLists.txt @@ -24,7 +24,7 @@ nebula_add_executable( $<TARGET_OBJECTS:executor_obj> $<TARGET_OBJECTS:scheduler_obj> $<TARGET_OBJECTS:idgenerator_obj> - $<TARGET_OBJECTS:context_obj> + $<TARGET_OBJECTS:graph_context_obj> $<TARGET_OBJECTS:optimizer_obj> $<TARGET_OBJECTS:graph_flags_obj> $<TARGET_OBJECTS:graph_auth_obj> diff --git a/src/graph/context/CMakeLists.txt b/src/graph/context/CMakeLists.txt index 9ec166da37f..ef1df1aecda 100644 --- a/src/graph/context/CMakeLists.txt +++ b/src/graph/context/CMakeLists.txt @@ -4,7 +4,7 @@ # attached with Common Clause Condition 1.0, found in the LICENSES directory. nebula_add_library( - context_obj OBJECT + graph_context_obj OBJECT QueryContext.cpp QueryExpressionContext.cpp ExecutionContext.cpp diff --git a/src/graph/context/test/CMakeLists.txt b/src/graph/context/test/CMakeLists.txt index a242f718bb6..fc579f8a74a 100644 --- a/src/graph/context/test/CMakeLists.txt +++ b/src/graph/context/test/CMakeLists.txt @@ -31,7 +31,7 @@ SET(CONTEXT_TEST_LIBS $<TARGET_OBJECTS:ws_common_obj> $<TARGET_OBJECTS:version_obj> $<TARGET_OBJECTS:util_obj> - $<TARGET_OBJECTS:context_obj> + $<TARGET_OBJECTS:graph_context_obj> $<TARGET_OBJECTS:expr_visitor_obj> $<TARGET_OBJECTS:parser_obj> $<TARGET_OBJECTS:validator_obj> diff --git a/src/graph/executor/test/CMakeLists.txt b/src/graph/executor/test/CMakeLists.txt index 68625a1763f..030f6b43dd9 100644 --- a/src/graph/executor/test/CMakeLists.txt +++ b/src/graph/executor/test/CMakeLists.txt @@ -43,7 +43,7 @@ SET(EXEC_QUERY_TEST_OBJS $<TARGET_OBJECTS:executor_obj> $<TARGET_OBJECTS:util_obj> $<TARGET_OBJECTS:idgenerator_obj> - $<TARGET_OBJECTS:context_obj> + $<TARGET_OBJECTS:graph_context_obj> $<TARGET_OBJECTS:graph_auth_obj> $<TARGET_OBJECTS:expr_visitor_obj> $<TARGET_OBJECTS:graph_obj> diff --git a/src/graph/optimizer/test/CMakeLists.txt b/src/graph/optimizer/test/CMakeLists.txt index 63d20dd6902..7a5ed87dcb6 100644 --- a/src/graph/optimizer/test/CMakeLists.txt +++ b/src/graph/optimizer/test/CMakeLists.txt @@ -40,7 +40,7 @@ set(OPTIMIZER_TEST_LIB $<TARGET_OBJECTS:util_obj> $<TARGET_OBJECTS:planner_obj> $<TARGET_OBJECTS:parser_obj> - $<TARGET_OBJECTS:context_obj> + $<TARGET_OBJECTS:graph_context_obj> $<TARGET_OBJECTS:validator_obj> $<TARGET_OBJECTS:optimizer_obj> ) diff --git a/src/graph/planner/test/CMakeLists.txt b/src/graph/planner/test/CMakeLists.txt index 7a9504de5db..b4de1974764 100644 --- a/src/graph/planner/test/CMakeLists.txt +++ b/src/graph/planner/test/CMakeLists.txt @@ -47,7 +47,7 @@ nebula_add_test( $<TARGET_OBJECTS:scheduler_obj> $<TARGET_OBJECTS:util_obj> $<TARGET_OBJECTS:idgenerator_obj> - $<TARGET_OBJECTS:context_obj> + $<TARGET_OBJECTS:graph_context_obj> LIBRARIES gtest ${PROXYGEN_LIBRARIES} diff --git a/src/graph/util/test/CMakeLists.txt b/src/graph/util/test/CMakeLists.txt index abf40e5ae63..f87291477e9 100644 --- a/src/graph/util/test/CMakeLists.txt +++ b/src/graph/util/test/CMakeLists.txt @@ -40,7 +40,7 @@ nebula_add_test( $<TARGET_OBJECTS:util_obj> $<TARGET_OBJECTS:planner_obj> $<TARGET_OBJECTS:parser_obj> - $<TARGET_OBJECTS:context_obj> + $<TARGET_OBJECTS:graph_context_obj> $<TARGET_OBJECTS:validator_obj> LIBRARIES gtest diff --git a/src/graph/validator/test/CMakeLists.txt b/src/graph/validator/test/CMakeLists.txt index 6708e9c13aa..d0b9077c44d 100644 --- a/src/graph/validator/test/CMakeLists.txt +++ b/src/graph/validator/test/CMakeLists.txt @@ -18,7 +18,7 @@ set(VALIDATOR_TEST_LIBS $<TARGET_OBJECTS:graph_flags_obj> $<TARGET_OBJECTS:parser_obj> $<TARGET_OBJECTS:idgenerator_obj> - $<TARGET_OBJECTS:context_obj> + $<TARGET_OBJECTS:graph_context_obj> $<TARGET_OBJECTS:graph_auth_obj> $<TARGET_OBJECTS:graph_session_obj> $<TARGET_OBJECTS:expression_obj> diff --git a/src/graph/visitor/test/CMakeLists.txt b/src/graph/visitor/test/CMakeLists.txt index db6aeb9646a..b5b61c02e28 100644 --- a/src/graph/visitor/test/CMakeLists.txt +++ b/src/graph/visitor/test/CMakeLists.txt @@ -24,7 +24,7 @@ nebula_add_test( $<TARGET_OBJECTS:graph_flags_obj> $<TARGET_OBJECTS:parser_obj> $<TARGET_OBJECTS:idgenerator_obj> - $<TARGET_OBJECTS:context_obj> + $<TARGET_OBJECTS:graph_context_obj> $<TARGET_OBJECTS:graph_auth_obj> $<TARGET_OBJECTS:expression_obj> $<TARGET_OBJECTS:network_obj> diff --git a/src/parser/test/CMakeLists.txt b/src/parser/test/CMakeLists.txt index 422448ed6c5..0280f76d346 100644 --- a/src/parser/test/CMakeLists.txt +++ b/src/parser/test/CMakeLists.txt @@ -37,7 +37,7 @@ set(PARSER_TEST_LIBS $<TARGET_OBJECTS:graph_auth_obj> $<TARGET_OBJECTS:util_obj> $<TARGET_OBJECTS:expr_visitor_obj> - $<TARGET_OBJECTS:context_obj> + $<TARGET_OBJECTS:graph_context_obj> $<TARGET_OBJECTS:planner_obj> $<TARGET_OBJECTS:validator_obj> $<TARGET_OBJECTS:idgenerator_obj>