summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-28 23:07:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-28 23:07:27 (GMT)
commite7bb895afda0ccc5711906873040459942137dce (patch)
tree571e06a2919cb2922ca46ab0f64f5e969efe0ab5 /Templates
parentb29e3f11cbdfa0dffb40eb394468b448066762e6 (diff)
downloadCMake-e7bb895afda0ccc5711906873040459942137dce.zip
CMake-e7bb895afda0ccc5711906873040459942137dce.tar.gz
CMake-e7bb895afda0ccc5711906873040459942137dce.tar.bz2
ENH: borland generator 2 is working more or less
Diffstat (limited to 'Templates')
-rw-r--r--Templates/CMakeWindowsBorlandConfig2.cmake40
1 files changed, 40 insertions, 0 deletions
diff --git a/Templates/CMakeWindowsBorlandConfig2.cmake b/Templates/CMakeWindowsBorlandConfig2.cmake
new file mode 100644
index 0000000..82aad70
--- /dev/null
+++ b/Templates/CMakeWindowsBorlandConfig2.cmake
@@ -0,0 +1,40 @@
+# microsoft specific config file
+
+FIND_PATH(BCB_BIN_PATH bcc32.exe
+ "C:/Program Files/Borland/CBuilder5/Bin"
+ "C:/Borland/Bcc55/Bin"
+ "/Borland/Bcc55/Bin"
+ [HKEY_LOCAL_MACHINE/SOFTWARE/Borland/C++Builder/5.0/RootDir]/Bin
+)
+
+SET (WORDS_BIGENDIAN )
+SET (HAVE_LIMITS_H 1)
+SET (HAVE_UNISTD_H 1)
+SET (CMAKE_CXX_COMPILER "${BCB_BIN_PATH}/bcc32" CACHE FILEPATH
+ "Name of C++ compiler used.")
+SET (CMAKE_C_COMPILER ${BCB_BIN_PATH}/bcc32 CACHE FILEPATH
+ "Name of C compiler used.")
+SET (CMAKE_CFLAGS "-w- -whid -waus -wpar" CACHE STRING
+ "Flags for C compiler.")
+SET (CMAKE_BUILD_TYPE Debug CACHE STRING
+"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel")
+SET (CMAKE_CXX_FLAGS_RELEASE "-O2" CACHE STRING
+ "Flags used by the compiler during release builds.)")
+SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Od" CACHE STRING
+ "Flags used by the compiler during Release with Debug Info builds")
+SET (CMAKE_CXX_FLAGS_MINSIZEREL "-O1" CACHE STRING
+ "Flags used by the compiler during release minsize builds")
+SET (CMAKE_CXX_FLAGS_DEBUG "-Od" CACHE STRING
+ "Flags used by the compiler during debug builds")
+SET (CMAKE_CXX_FLAGS "-w- -whid -waus -wpar" CACHE STRING
+ "Flags used by the compiler during all build types, /GX /GR are for exceptions and rtti in VC++, /Zm1000 increases the compiler's memory allocation to support ANSI C++/stdlib")
+SET (CMAKE_USE_WIN32_THREADS 1 CACHE BOOL "Use the win32 thread library")
+SET (CMAKE_STANDARD_WINDOWS_LIBRARIES "import32.lib"
+ CACHE STRING "Libraries linked by defalut with all applications")
+SET (CMAKE_SHLIB_SUFFIX ".dll" CACHE STRING "Shared library suffix")
+SET (CMAKE_MODULE_SUFFIX ".dll" CACHE STRING "Module library suffix")
+
+FIND_PROGRAM(CMAKE_MAKE_PROGRAM make ${BCB_BIN_PATH} )
+
+
+