aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient/CMakeLists.txt
blob: ed61d730629708966d1397aa6fd29c2dc8256742 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
vespa_define_module(
    DEPENDS
    vespadefaults
    fastos
    configdefinitions
    config_cloudconfig
    vespalog
    document
    documentapi
    vespalib
    staging_vespalib

    LIBS
    src/vespa/vespaclient/clusterlist

    APPS
    src/vespa/vespaclient/spoolmaster
    src/vespa/vespaclient/vdsstates
    src/vespa/vespaclient/vesparoute
)

vespa_install_script(src/perl/bin/SetNodeState.pl vespa-set-node-state bin)
vespa_install_script(src/perl/bin/GetNodeState.pl vespa-get-node-state bin)
vespa_install_script(src/perl/bin/GetClusterState.pl vespa-get-cluster-state bin)

install(DIRECTORY src/perl/lib/Yahoo/Vespa/
        DESTINATION lib/perl5/site_perl/Yahoo/Vespa
        FILES_MATCHING
        PATTERN "*.pm")

install(DIRECTORY src/perl/lib/Yahoo/Vespa/Bin/
        DESTINATION lib/perl5/site_perl/Yahoo/Vespa/Bin
        FILES_MATCHING
        PATTERN "*.pm")