forked from lpereira/hardinfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h.cmake
38 lines (29 loc) · 949 Bytes
/
config.h.cmake
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
34
35
36
37
38
#ifndef __CONFIG_H__
#define __CONFIG_H__
#define VERSION "@HARDINFO_VERSION@"
#define ARCH "ARCH_@HARDINFO_ARCH@"
#define OS "@HARDINFO_OS@"
#define PLATFORM OS "-" ARCH
#define KERNEL ""
#define HOSTNAME ""
#define ARCH_@HARDINFO_ARCH@
#define LIBDIR "@CMAKE_INSTALL_LIBDIR@"
#define LIBPREFIX "@CMAKE_INSTALL_FULL_LIBDIR@/hardinfo"
#define PREFIX "@CMAKE_INSTALL_DATAROOTDIR@/hardinfo"
#cmakedefine LIBSOUP_FOUND
#cmakedefine HARDINFO_DEBUG @HARDINFO_DEBUG@
#ifdef LIBSOUP_FOUND
# define HAS_LIBSOUP
#endif /* LIBSOUP_FOUND */
#if defined(HARDINFO_DEBUG) && (HARDINFO_DEBUG==1)
# define RELEASE 0
# define DEBUG(msg,...) fprintf(stderr, "*** %s:%d (%s) *** " msg "\n", \
__FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__)
#else
# define RELEASE 1
# define DEBUG(msg,...)
#endif /* HARDINFO_DEBUG */
#define ENABLE_BINRELOC 1
#define HAS_LINUX_WE 1
#cmakedefine01 HAS_LIBSENSORS
#endif /* __CONFIG_H__ */