[cmake-commits] hoffman committed InputFile.h.in 1.2 1.2.8.1
StringFile.cxx 1.4 1.4.4.1
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Jun 29 12:58:20 EDT 2007
Update of /cvsroot/CMake/CMake/Tests/StringFileTest
In directory public:/mounts/ram/cvs-serv8749/Tests/StringFileTest
Modified Files:
Tag: CMake-2-4
InputFile.h.in StringFile.cxx
Log Message:
ENH: RC 11
Index: InputFile.h.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/StringFileTest/InputFile.h.in,v
retrieving revision 1.2
retrieving revision 1.2.8.1
diff -u -d -r1.2 -r1.2.8.1
--- InputFile.h.in 4 Mar 2004 15:05:14 -0000 1.2
+++ InputFile.h.in 29 Jun 2007 16:58:18 -0000 1.2.8.1
@@ -5,6 +5,10 @@
/* This should be configured to a commented undef with the curlies in place */
#cmakedefine TEST_NOT_DEFINED ${TEST_NOT_DEFINED}
+/* This complicated line should be configured unchanged: */
+static const char* configvar =
+"@$@$junk =~ s/#$xyz#/$foo_bar{$wibble}->{$xyz}/;@@";
+
int CheckMethod(const char* var, const char* val )
{
if ( !var )
Index: StringFile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/StringFileTest/StringFile.cxx,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -u -d -r1.4 -r1.4.4.1
--- StringFile.cxx 17 Oct 2005 13:56:42 -0000 1.4
+++ StringFile.cxx 29 Jun 2007 16:58:18 -0000 1.4.4.1
@@ -24,6 +24,8 @@
res += CheckMethod(tuvar, "CMAKE");
res += CheckMethod(tlvar, "cmake");
res += CheckMethod(relpath, "../../X11R6/bin/xnest");
+ res += CheckMethod(configvar,
+ "@$@$junk =~ s/#$xyz#/$foo_bar{$wibble}->{$xyz}/;@@");
return res;
}
More information about the Cmake-commits
mailing list