Browse Source

get system info into cmake

Ken Martin 25 years ago
parent
commit
9020fec9a9
2 changed files with 16 additions and 0 deletions
  1. 8 0
      CMakeSystemConfig.txt.in
  2. 8 0
      CMakeWindowsSystemConfig.txt

+ 8 - 0
CMakeSystemConfig.txt.in

@@ -0,0 +1,8 @@
+# 
+# CMakeLocal.make.in should be in the directory where you run configure
+# in, which need not be the source directory
+#
+Define WORDS_BIGENDIAN @WORDS_BIGENDIAN@
+Define HAVE_LIMITS_H   @HAVE_LIMITS_H@
+Define HAVE_UNISTD_H   @HAVE_UNISTD_H@
+

+ 8 - 0
CMakeWindowsSystemConfig.txt

@@ -0,0 +1,8 @@
+# 
+# CMakeLocal.make.in should be in the directory where you run configure
+# in, which need not be the source directory
+#
+Define WORDS_BIGENDIAN 
+Define HAVE_LIMITS_H   1
+Define HAVE_UNISTD_H   1
+