CMake Files

- Added cmake.h.in and commit.h.in, and updated .gitignore.
This commit is contained in:
Paul Beckingham 2014-06-08 16:55:48 -04:00
parent 0a98de793f
commit dd07ee6ae0
3 changed files with 53 additions and 2 deletions

2
.gitignore vendored
View file

@ -1,11 +1,9 @@
cmake.h
auto.h
commit.h
Makefile
src/tasksh
*~
.*.swp
package-config/osx/binary/task
CMakeFiles
CMakeCache.txt
cmake_install.cmake

49
cmake.h.in Normal file
View file

@ -0,0 +1,49 @@
/* cmake.h.in. Creates cmake.h during a cmake run */
/* Product identification */
#define PRODUCT_TASKSH 1
/* 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}"
#define CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}"
/* Localization */
#define PACKAGE_LANGUAGE ${PACKAGE_LANGUAGE}
#define LANGUAGE_ENG_USA ${LANGUAGE_ENG_USA}
/* git information */
#cmakedefine HAVE_COMMIT
/* cmake information */
#cmakedefine HAVE_CMAKE
#define CMAKE_VERSION "${CMAKE_VERSION}"
/* Compiling platform */
#cmakedefine LINUX
#cmakedefine DARWIN
#cmakedefine CYGWIN
#cmakedefine FREEBSD
#cmakedefine OPENBSD
#cmakedefine NETBSD
#cmakedefine HAIKU
#cmakedefine SOLARIS
#cmakedefine KFREEBSD
#cmakedefine GNUHURD
#cmakedefine UNKNOWN
/* Found the Readline library */
#cmakedefine HAVE_READLINE
/* Found the pthread library */
#cmakedefine HAVE_LIBPTHREAD
/* Found wordexp.h */
#cmakedefine HAVE_WORDEXP

4
commit.h.in Normal file
View file

@ -0,0 +1,4 @@
/* commit.h.in. Creates commit.h during a cmake run */
/* git information */
#define COMMIT "${COMMIT}"