[Cmake-commits] [cmake-commits] alex committed cmExportLibraryDependencies.cxx 1.22 1.23 cmListFileCache.cxx 1.45 1.46
cmake-commits at cmake.org
cmake-commits at cmake.org
Sun Apr 27 07:01:08 EDT 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv29652
Modified Files:
cmExportLibraryDependencies.cxx cmListFileCache.cxx
Log Message:
ENH: write the cmake version into the file created by EXPORT_LIBRARY_DEPENDENCIES()
to help with debugging later on. The same should be done in the import
target files (but I didn't have time to do it yet).
STYLE: fix line length in cmListFileCache.cxx
Alex
Index: cmListFileCache.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmListFileCache.cxx,v
retrieving revision 1.45
retrieving revision 1.46
diff -C 2 -d -r1.45 -r1.46
*** cmListFileCache.cxx 31 Mar 2008 17:33:08 -0000 1.45
--- cmListFileCache.cxx 27 Apr 2008 11:01:05 -0000 1.46
***************
*** 135,139 ****
}
}
! // if no policy command is found this is an error if they use any non advanced functions or a lot of functions
if(!hasVersion)
{
--- 135,140 ----
}
}
! // if no policy command is found this is an error if they use any
! // non advanced functions or a lot of functions
if(!hasVersion)
{
Index: cmExportLibraryDependencies.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmExportLibraryDependencies.cxx,v
retrieving revision 1.22
retrieving revision 1.23
diff -C 2 -d -r1.22 -r1.23
*** cmExportLibraryDependencies.cxx 20 Feb 2008 18:36:38 -0000 1.22
--- cmExportLibraryDependencies.cxx 27 Apr 2008 11:01:05 -0000 1.23
***************
*** 20,23 ****
--- 20,24 ----
#include "cmGeneratedFileStream.h"
#include "cmake.h"
+ #include "cmVersion.h"
#include <cmsys/auto_ptr.hxx>
***************
*** 173,176 ****
--- 174,178 ----
const char* vertest =
"\"${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}\" GREATER 2.4";
+ fout << "# Generated by CMake " << cmVersion::GetCMakeVersion() << "\n\n";
fout << "IF(" << vertest << ")\n";
fout << " # Information for CMake 2.6 and above.\n";
More information about the Cmake-commits
mailing list