/* ckinfo.h - Compile time generated info for ck -----------------------*- C -*- * * This file is part of ck, the config keeper * * ----------------------------------------------------------------------------- * * Copyright (C) 2018 Anastasis Grammenos * GPLv3 (see LICENCE for the full notice) * * ----------------------------------------------------------------------------- * * Version info, etc. * Autogenerated by CMake @CMAKE_MAJOR_VERSION@.@CMAKE_MINOR_VERSION@ * * -------------------------------------------------------------------------- */ #ifndef CK_INFO_H #define CK_INFO_H #include #define CK_MAJOR_VERSION @ck_MAJOR_VERSION@ #define CK_MINOR_VERSION @ck_MINOR_VERSION@ #define CK_PATCH_VERSION @ck_PATCH_VERSION@ void print_version() { printf("ck version %d.%d.%d\n", CK_MAJOR_VERSION, CK_MINOR_VERSION, CK_PATCH_VERSION); printf("%s", "ck Copyright (C) 2018 gramanas\n" "This program comes with ABSOLUTELY NO WARRANTY.\n" "This is free software, and you are welcome to redistribute it under\n" "certain condition. See the LICENCE file in the source tree for details.\n"); } #endif /* CK_INFO_H */