Skip to content

Commit dd07ee6

Browse files
committed
CMake Files
- Added cmake.h.in and commit.h.in, and updated .gitignore.
1 parent 0a98de7 commit dd07ee6

File tree

3 files changed

+53
-2
lines changed

3 files changed

+53
-2
lines changed

Diff for: .gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
cmake.h
2-
auto.h
32
commit.h
43
Makefile
54
src/tasksh
65
*~
76
.*.swp
8-
package-config/osx/binary/task
97
CMakeFiles
108
CMakeCache.txt
119
cmake_install.cmake

Diff for: cmake.h.in

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/* cmake.h.in. Creates cmake.h during a cmake run */
2+
3+
/* Product identification */
4+
#define PRODUCT_TASKSH 1
5+
6+
/* Package information */
7+
#define PACKAGE "${PACKAGE}"
8+
#define VERSION "${VERSION}"
9+
#define PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
10+
#define PACKAGE_NAME "${PACKAGE_NAME}"
11+
#define PACKAGE_TARNAME "${PACKAGE_TARNAME}"
12+
#define PACKAGE_VERSION "${PACKAGE_VERSION}"
13+
#define PACKAGE_STRING "${PACKAGE_STRING}"
14+
15+
#define CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}"
16+
17+
/* Localization */
18+
#define PACKAGE_LANGUAGE ${PACKAGE_LANGUAGE}
19+
#define LANGUAGE_ENG_USA ${LANGUAGE_ENG_USA}
20+
21+
/* git information */
22+
#cmakedefine HAVE_COMMIT
23+
24+
/* cmake information */
25+
#cmakedefine HAVE_CMAKE
26+
#define CMAKE_VERSION "${CMAKE_VERSION}"
27+
28+
/* Compiling platform */
29+
#cmakedefine LINUX
30+
#cmakedefine DARWIN
31+
#cmakedefine CYGWIN
32+
#cmakedefine FREEBSD
33+
#cmakedefine OPENBSD
34+
#cmakedefine NETBSD
35+
#cmakedefine HAIKU
36+
#cmakedefine SOLARIS
37+
#cmakedefine KFREEBSD
38+
#cmakedefine GNUHURD
39+
#cmakedefine UNKNOWN
40+
41+
/* Found the Readline library */
42+
#cmakedefine HAVE_READLINE
43+
44+
/* Found the pthread library */
45+
#cmakedefine HAVE_LIBPTHREAD
46+
47+
/* Found wordexp.h */
48+
#cmakedefine HAVE_WORDEXP
49+

Diff for: commit.h.in

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* commit.h.in. Creates commit.h during a cmake run */
2+
3+
/* git information */
4+
#define COMMIT "${COMMIT}"

0 commit comments

Comments
 (0)