[cmake-commits] alex committed cmUtilitySourceCommand.h 1.11 1.12
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Aug 14 11:58:23 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26113
Modified Files:
cmUtilitySourceCommand.h
Log Message:
STYLE: document the behaviour of UTILITY_SOURCE in cross compiling mode
Alex
Index: cmUtilitySourceCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmUtilitySourceCommand.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cmUtilitySourceCommand.h 17 May 2007 17:20:44 -0000 1.11
+++ cmUtilitySourceCommand.h 14 Aug 2007 15:58:21 -0000 1.12
@@ -70,7 +70,13 @@
"this command specifies its location and name. The cache entry will "
"not be set unless the path_to_source and all listed files exist. It "
"is assumed that the source tree of the utility will have been built "
- "before it is needed.";
+ "before it is needed.\n"
+ "When cross compiling CMake will print a warning if a UTILITY_SOURCE() "
+ "command is executed, because in many cases it is used to build an "
+ "executable which is executed later on. This doesn't work when "
+ "cross compiling, since the executable can run only on their target "
+ "platform. So in this case the cache entry has to be adjusted manually "
+ "so it points to an executable which is runnable on the build host.";
}
/** This command is kept for compatibility with older CMake versions. */
More information about the Cmake-commits
mailing list