Goby v2
version.h
1 // Copyright 2009-2018 Toby Schneider (http://gobysoft.org/index.wt/people/toby)
2 // GobySoft, LLC (2013-)
3 // Massachusetts Institute of Technology (2007-2014)
4 // Community contributors (see AUTHORS file)
5 //
6 //
7 // This file is part of the Goby Underwater Autonomy Project Libraries
8 // ("The Goby Libraries").
9 //
10 // The Goby Libraries are free software: you can redistribute them and/or modify
11 // them under the terms of the GNU Lesser General Public License as published by
12 // the Free Software Foundation, either version 2.1 of the License, or
13 // (at your option) any later version.
14 //
15 // The Goby Libraries are distributed in the hope that they will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU Lesser General Public License for more details.
19 //
20 // You should have received a copy of the GNU Lesser General Public License
21 // along with Goby. If not, see <http://www.gnu.org/licenses/>.
22 
23 #ifndef VERSION20110304H
24 #define VERSION20110304H
25 
26 #include <sstream>
27 #include <string>
28 
29 #define GOBY_VERSION_MAJOR 2
30 #define GOBY_VERSION_MINOR 1
31 #define GOBY_VERSION_PATCH 14
32 
33 namespace goby
34 {
35 const std::string VERSION_STRING = "2.1.14";
36 const std::string VERSION_DATE = "2019.10.29";
37 
38 inline std::string version_message()
39 {
40  std::stringstream ss;
41  ss << "This is Version " << goby::VERSION_STRING
42  << " of the Goby Underwater Autonomy Project released on " << goby::VERSION_DATE
43  << ".\n See https://launchpad.net/goby to search for updates.";
44  return ss.str();
45 }
46 } // namespace goby
47 
48 #endif
The global namespace for the Goby project.