[cmake-commits] king committed testSystemTools.cxx 1.15 1.16
testDynamicLoader.cxx 1.20 1.21
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Mar 7 13:52:34 EST 2007
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv8162
Modified Files:
testSystemTools.cxx testDynamicLoader.cxx
Log Message:
BUG: Use angle-brackets to include testSystemTools.h to avoid problems with in-source builds.
Index: testDynamicLoader.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/testDynamicLoader.cxx,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- testDynamicLoader.cxx 3 Mar 2007 15:47:04 -0000 1.20
+++ testDynamicLoader.cxx 7 Mar 2007 18:52:32 -0000 1.21
@@ -29,7 +29,9 @@
# include "kwsys_stl_string.hxx.in"
#endif
-#include "testSystemTools.h"
+// Include with <> instead of "" to avoid getting any in-source copy
+// left on disk.
+#include <testSystemTools.h>
kwsys_stl::string GetLibName(const char* lname)
{
Index: testSystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/testSystemTools.cxx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- testSystemTools.cxx 3 Mar 2007 15:47:04 -0000 1.15
+++ testSystemTools.cxx 7 Mar 2007 18:52:32 -0000 1.16
@@ -27,7 +27,9 @@
# include "kwsys_ios_iostream.h.in"
#endif
-#include "testSystemTools.h"
+// Include with <> instead of "" to avoid getting any in-source copy
+// left on disk.
+#include <testSystemTools.h>
#include <string.h> /* strcmp */
More information about the Cmake-commits
mailing list