Files
Jungfraujoch/common/print_license.h
2025-05-05 19:32:22 +02:00

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