20 lines
839 B
C++
20 lines
839 B
C++
// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
#ifndef JFJOCH_PRINT_LICENSE_H
|
|
#define JFJOCH_PRINT_LICENSE_H
|
|
|
|
#include <iostream>
|
|
|
|
inline void print_license(const std::string &component_name) {
|
|
std::cout << component_name << " Copyright (C) 2024 Paul Scherrer Institute" << std::endl;
|
|
std::cout << "This program comes with ABSOLUTELY NO WARRANTY" << std::endl;
|
|
std::cout << "This is free software, and you are welcome to redistribute it" << std::endl;
|
|
std::cout << "under certain conditions (GPLv3)" << std::endl;
|
|
std::cout << "" << std::endl;
|
|
std::cout << "Development supported by Innovation Project (101.535.1 IP-ENG) from Innosuisse" << std::endl;
|
|
std::cout << "" << std::endl;
|
|
}
|
|
|
|
#endif //JFJOCH_PRINT_LICENSE_H
|