summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.")