blob: d5cc44a378f823fc615145319b1e95776985d309 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
set(MINI_CLUSTER_SRCS
external_mini_cluster.cc
internal_mini_cluster.cc
mini_cluster.cc
)
add_library(mini_cluster ${MINI_CLUSTER_SRCS})
target_link_libraries(mini_cluster
gflags
glog
gmock
gutil
krpc
kudu_client
kudu_common
kudu_test_util
kudu_util
master
master_proto
mini_hms
mini_kdc
server_base_proto
tablet_proto
tserver
tserver_proto
tserver_service_proto
wire_protocol_proto
)
add_dependencies(mini_cluster
kudu-tserver
kudu-master)
# Tests
SET_KUDU_TEST_LINK_LIBS(mini_cluster kudu_hms kudu_sentry)
ADD_KUDU_TEST(external_mini_cluster-test PROCESSORS 3)