mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CMake
- added library checks to cmake - added configuration of include files to cmake - move package information into configurable include file - cmake.h.in generates auto.h to be compatible with current implementation of autoconf
This commit is contained in:
parent
462caf5bd4
commit
3e68bc9ec5
3 changed files with 92 additions and 47 deletions
43
cmake.h.in
Normal file
43
cmake.h.in
Normal file
|
@ -0,0 +1,43 @@
|
|||
/* cmake.h.in. Creates auto.h during a cmake run */
|
||||
|
||||
/* Package information */
|
||||
#define PACKAGE "${PACKAGE}"
|
||||
#define VERSION "${VERSION}"
|
||||
#define PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
|
||||
#define PACKAGE_NAME "${PACKAGE_NAME}"
|
||||
#define PACKAGE_TARNAME "${PACKAGE_TARNAME}"
|
||||
#define PACKAGE_VERSION "${PACKAGE_VERSION}"
|
||||
#define PACKAGE_STRING "${PACKAGE_STRING}"
|
||||
|
||||
/* Compiling platform */
|
||||
#cmakedefine LINUX
|
||||
#cmakedefine DARWIN
|
||||
#cmakedefine CYGWIN
|
||||
#cmakedefine FREEBSD
|
||||
#cmakedefine OPENBSD
|
||||
#cmakedefine HAIKU
|
||||
#cmakedefine SOLARIS
|
||||
#cmakedefine WIN32
|
||||
#cmakedefine UNKNOWN
|
||||
|
||||
/* Found the lua library */
|
||||
#cmakedefine HAVE_LIBLUA
|
||||
|
||||
/* Found the pthread library */
|
||||
#cmakedefine HAVE_LIBPTHREAD
|
||||
|
||||
/* Found the readline library */
|
||||
#cmakedefine HAVE_READLINE
|
||||
#cmakedefine HAVE_LIBREADLINE
|
||||
|
||||
/* Found random */
|
||||
#cmakedefine HAVE_RANDOM
|
||||
|
||||
/* Found srandom */
|
||||
#cmakedefine HAVE_SRANDOM
|
||||
|
||||
/* Found uuid_unparse_lower */
|
||||
#cmakedefine HAVE_UUID
|
||||
|
||||
/* To comment out large blocks of code */
|
||||
#cmakedefine NOPE
|
Loading…
Add table
Add a link
Reference in a new issue