summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-12-20 20:44:51 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-12-20 20:44:51 (GMT)
commitd354ac55280fd2ffad3616357c8adc1b0c3d03c4 (patch)
treedaf17d875fb59769ffd0fd98a41b42a5f0eb7d19
parent8d26216d2fe91d990363f873d5278d185b307f3f (diff)
downloadCMake-d354ac55280fd2ffad3616357c8adc1b0c3d03c4.zip
CMake-d354ac55280fd2ffad3616357c8adc1b0c3d03c4.tar.gz
CMake-d354ac55280fd2ffad3616357c8adc1b0c3d03c4.tar.bz2
BUG: must use CACHE values in these
-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 26832ce..af2cf1a 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 dc12407..a960f7c 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 d945b0f..7892a89 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.")