diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-08-14 15:58:21 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-08-14 15:58:21 (GMT) |
commit | a33e059e41abe4f018411046cf83865494402ede (patch) | |
tree | b0e81da63ec4c5e6b5f1cd1fe91e329efb949c7c /Source/cmUtilitySourceCommand.h | |
parent | fa61182de8a6ce967420077417b5253abdba2d56 (diff) | |
download | CMake-a33e059e41abe4f018411046cf83865494402ede.zip CMake-a33e059e41abe4f018411046cf83865494402ede.tar.gz CMake-a33e059e41abe4f018411046cf83865494402ede.tar.bz2 |
STYLE: document the behaviour of UTILITY_SOURCE in cross compiling mode
Alex
Diffstat (limited to 'Source/cmUtilitySourceCommand.h')
-rw-r--r-- | Source/cmUtilitySourceCommand.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmUtilitySourceCommand.h b/Source/cmUtilitySourceCommand.h index e1866ef..6364d67 100644 --- a/Source/cmUtilitySourceCommand.h +++ b/Source/cmUtilitySourceCommand.h @@ -70,7 +70,13 @@ public: "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. */ |