~goby-dev/goby/2.0

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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Copyright 2009-2014 Toby Schneider (https://launchpad.net/~tes)
//                     GobySoft, LLC (2013-)
//                     Massachusetts Institute of Technology (2007-2014)
//                     Goby Developers Team (https://launchpad.net/~goby-dev)
// 
//
// This file is part of the Goby Underwater Autonomy Project Libraries
// ("The Goby Libraries").
//
// The Goby Libraries are free software: you can redistribute them and/or modify
// them under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 2.1 of the License, or
// (at your option) any later version.
//
// The Goby Libraries are distributed in the hope that they will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with Goby.  If not, see <http://www.gnu.org/licenses/>.




#ifndef VERSION20110304H
#define VERSION20110304H

#include <string>
#include <sstream>

#define GOBY_VERSION_MAJOR @GOBY_VERSION_MAJOR@
#define GOBY_VERSION_MINOR @GOBY_VERSION_MINOR@
#define GOBY_VERSION_PATCH @GOBY_VERSION_PATCH@

namespace goby
{
    const std::string VERSION_STRING = "@GOBY_VERSION@";
    const std::string VERSION_DATE = "@GOBY_VERSION_DATE@";

    inline std::string version_message()
    {
        std::stringstream ss;
        ss << "This is Version " << goby::VERSION_STRING
           << " of the Goby Underwater Autonomy Project released on "
           << goby::VERSION_DATE
           <<".\n See https://launchpad.net/goby to search for updates.";
        return ss.str();
    }
}

#endif