blob: 0d101f4db6ee236ee3446fac28aac31b1776bfa2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* 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 <stdio.h>
#define CK_MAJOR_VERSION @ck_MAJOR_VERSION@
#define CK_MINOR_VERSION @ck_MINOR_VERSION@
extern void print_version() {
printf("ck version %d.%d\n", CK_MAJOR_VERSION, CK_MINOR_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 */
|