summaryrefslogtreecommitdiff
path: root/Templates
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-12-20 15:44:51 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2001-12-20 15:44:51 -0500
commitd354ac55280fd2ffad3616357c8adc1b0c3d03c4 (patch)
treedaf17d875fb59769ffd0fd98a41b42a5f0eb7d19 /Templates
parent8d26216d2fe91d990363f873d5278d185b307f3f (diff)
downloadcmake-d354ac55280fd2ffad3616357c8adc1b0c3d03c4.tar.gz
BUG: must use CACHE values in these
Diffstat (limited to 'Templates')
-rw-r--r--Templates/CMakeBorlandWindowsSystemConfig.cmake11
-rw-r--r--Templates/CMakeNMakeWindowsSystemConfig.cmake6
-rw-r--r--Templates/CMakeWindowsSystemConfig.cmake5
3 files changed, 4 insertions, 18 deletions
diff --git a/Templates/CMakeBorlandWindowsSystemConfig.cmake b/Templates/CMakeBorlandWindowsSystemConfig.cmake
index 26832ce890..af2cf1a8b4 100644
--- a/Templates/CMakeBorlandWindowsSystemConfig.cmake
+++ b/Templates/CMakeBorlandWindowsSystemConfig.cmake
@@ -1,4 +1,5 @@
-# microsoft specific config file
+# borland specific configure file
+# NOTE: all entries in here MUST be CACHE values, regular SET will NOT WORK!
FIND_PATH(BCB_BIN_PATH bcc32.exe
"C:/Program Files/Borland/CBuilder5/Bin"
@@ -7,13 +8,7 @@ FIND_PATH(BCB_BIN_PATH bcc32.exe
[HKEY_LOCAL_MACHINE/SOFTWARE/Borland/C++Builder/5.0/RootDir]/Bin
)
-SET (BORLAND 1)
-
-SET (WORDS_BIGENDIAN )
-
-SET (HAVE_LIMITS_H 1)
-
-SET (HAVE_UNISTD_H 1)
+SET (BORLAND 1 CACHE INTERNAL "This is the borland generator")
SET (CMAKE_C_COMPILER ${BCB_BIN_PATH}/bcc32 CACHE FILEPATH
"Name of C compiler used.")
diff --git a/Templates/CMakeNMakeWindowsSystemConfig.cmake b/Templates/CMakeNMakeWindowsSystemConfig.cmake
index dc124078cb..a960f7c8d9 100644
--- a/Templates/CMakeNMakeWindowsSystemConfig.cmake
+++ b/Templates/CMakeNMakeWindowsSystemConfig.cmake
@@ -1,10 +1,6 @@
# Microsoft specific config file
+# NOTE: all entries in here MUST be CACHE values, regular SET will NOT WORK!
-SET (WORDS_BIGENDIAN )
-
-SET (HAVE_LIMITS_H 1)
-
-SET (HAVE_UNISTD_H 1)
# Suffixes
diff --git a/Templates/CMakeWindowsSystemConfig.cmake b/Templates/CMakeWindowsSystemConfig.cmake
index d945b0fc70..7892a8968a 100644
--- a/Templates/CMakeWindowsSystemConfig.cmake
+++ b/Templates/CMakeWindowsSystemConfig.cmake
@@ -1,10 +1,5 @@
# Microsoft specific config file
-SET (WORDS_BIGENDIAN )
-
-SET (HAVE_LIMITS_H 1)
-
-SET (HAVE_UNISTD_H 1)
SET (CMAKE_CXX_COMPILER cl CACHE STRING
"Name of C++ compiler used.")