votca 2024.2-dev
Loading...
Searching...
No Matches
version.cc
Go to the documentation of this file.
1/*
2 * Copyright 2009-2024 The VOTCA Development Team
3 * (http://www.votca.org)
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License")
6 *
7 * You may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 */
19
20// Standard includes
21#include <iostream>
22
23// VOTCA includes
24#include <votca/tools/version.h>
26
27// Local VOTCA includes
28#include "votca/xtp/version.h"
30
31namespace votca {
32namespace xtp {
33
34void HelpTextHeader(const std::string &tool_name) {
35 std::cout << "==================================================\n"
36 << "======== VOTCA (http://www.votca.org) ========\n"
37 << "==================================================\n\n"
38 << "please read and cite: " PROJECT_CITATION "\n"
39 << "and submit bugs to " PROJECT_BUGREPORT "\n\n"
40 << tool_name << ", version " << votca::tools::ToolsVersionStr()
41 << "\n\n";
42}
43
44} // namespace xtp
45} // namespace votca
const std::string & ToolsVersionStr()
Definition version.cc:33
void HelpTextHeader(const std::string &tool_name)
Definition version.cc:34
base class for all analysis tools
Definition basebead.h:33
#define PROJECT_BUGREPORT
#define PROJECT_CITATION