aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient/CMakeLists.txt
blob: 2a43ea804a36310fda238cf3f351e06d6d0dc379 (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
36
37
38
# Copyright Yahoo. 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/vdsstates
    src/vespa/vespaclient/vesparoute
)

vespa_install_script(src/sh/vespa-set-node-state vespa-set-node-state bin)
vespa_install_script(src/sh/vespa-get-node-state vespa-get-node-state bin)
vespa_install_script(src/sh/vespa-get-cluster-state vespa-get-cluster-state bin)

vespa_install_script(src/perl/bin/SetNodeState.pl libexec/vespa)
vespa_install_script(src/perl/bin/GetNodeState.pl libexec/vespa)
vespa_install_script(src/perl/bin/GetClusterState.pl libexec/vespa)

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")