[cmake-commits] hoffman committed bootstrap 1.93 1.94

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Dec 4 17:26:12 EST 2006


Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv3420

Modified Files:
	bootstrap 
Log Message:
ENH: merge in changes for beos support


Index: bootstrap
===================================================================
RCS file: /cvsroot/CMake/CMake/bootstrap,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- bootstrap	29 Nov 2006 22:45:55 -0000	1.93
+++ bootstrap	4 Dec 2006 22:26:07 -0000	1.94
@@ -52,6 +52,13 @@
   cmake_system_darwin=false
 fi
 
+# Determine whether this is BeOS 
+if echo "${cmake_system}" | grep BeOS >/dev/null 2>&1; then
+  cmake_system_beos=true
+else
+  cmake_system_beos=false
+fi
+
 # Choose the generator to use for bootstrapping.
 if ${cmake_system_mingw}; then
   # Bootstrapping from an MSYS prompt.
@@ -549,6 +556,13 @@
   cmake_ld_flags=${LDFLAGS}
 fi
 
+# Add BeOS toolkits...
+if ${cmake_system_beos}; then
+  cmake_ld_flags="${LDFLAGS} -lroot -lbe"
+else
+  cmake_ld_flags=${LDFLAGS}
+fi
+
 # Test C compiler
 cmake_c_compiler=
 



More information about the Cmake-commits mailing list