"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Source/cmUtilitySourceCommand.cxx" between
cmake-3.13.4.tar.gz and cmake-3.14.0-rc1.tar.gz

About: CMake is a cross-platform build system designed to build, test and package software. Release candidate.

cmUtilitySourceCommand.cxx  (cmake-3.13.4):cmUtilitySourceCommand.cxx  (cmake-3.14.0-rc1)
skipping to change at line 43 skipping to change at line 43
bool haveCacheValue = false; bool haveCacheValue = false;
if (this->Makefile->IsOn("CMAKE_CROSSCOMPILING")) { if (this->Makefile->IsOn("CMAKE_CROSSCOMPILING")) {
haveCacheValue = (cacheValue != nullptr); haveCacheValue = (cacheValue != nullptr);
if (!haveCacheValue) { if (!haveCacheValue) {
std::string msg = "UTILITY_SOURCE is used in cross compiling mode for "; std::string msg = "UTILITY_SOURCE is used in cross compiling mode for ";
msg += cacheEntry; msg += cacheEntry;
msg += ". If your intention is to run this executable, you need to " msg += ". If your intention is to run this executable, you need to "
"preload the cache with the full path to a version of that " "preload the cache with the full path to a version of that "
"program, which runs on this build machine."; "program, which runs on this build machine.";
cmSystemTools::Message(msg.c_str(), "Warning"); cmSystemTools::Message(msg, "Warning");
} }
} else { } else {
cmState* state = this->Makefile->GetState(); cmState* state = this->Makefile->GetState();
haveCacheValue = (cacheValue && haveCacheValue = (cacheValue &&
(strstr(cacheValue, "(IntDir)") == nullptr || (strstr(cacheValue, "(IntDir)") == nullptr ||
(intDir == "$(IntDir)")) && (intDir == "$(IntDir)")) &&
(state->GetCacheMajorVersion() != 0 && (state->GetCacheMajorVersion() != 0 &&
state->GetCacheMinorVersion() != 0)); state->GetCacheMinorVersion() != 0));
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)