New upstream version 3.7.2
This commit is contained in:
parent
a7c1ce03b2
commit
1b6b6f02ff
@ -427,7 +427,9 @@ function(_Boost_GUESS_COMPILER_PREFIX _ret)
|
|||||||
elseif (GHSMULTI)
|
elseif (GHSMULTI)
|
||||||
set(_boost_COMPILER "-ghs")
|
set(_boost_COMPILER "-ghs")
|
||||||
elseif("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC")
|
elseif("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC")
|
||||||
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19)
|
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.10)
|
||||||
|
set(_boost_COMPILER "-vc150")
|
||||||
|
elseif (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19)
|
||||||
set(_boost_COMPILER "-vc140")
|
set(_boost_COMPILER "-vc140")
|
||||||
elseif(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18)
|
elseif(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18)
|
||||||
set(_boost_COMPILER "-vc120")
|
set(_boost_COMPILER "-vc120")
|
||||||
@ -740,6 +742,21 @@ function(_Boost_COMPONENT_DEPENDENCIES component _ret)
|
|||||||
set(_Boost_THREAD_DEPENDENCIES chrono system date_time atomic)
|
set(_Boost_THREAD_DEPENDENCIES chrono system date_time atomic)
|
||||||
set(_Boost_WAVE_DEPENDENCIES filesystem system serialization thread chrono date_time atomic)
|
set(_Boost_WAVE_DEPENDENCIES filesystem system serialization thread chrono date_time atomic)
|
||||||
set(_Boost_WSERIALIZATION_DEPENDENCIES serialization)
|
set(_Boost_WSERIALIZATION_DEPENDENCIES serialization)
|
||||||
|
elseif(NOT Boost_VERSION VERSION_LESS 106300 AND Boost_VERSION VERSION_LESS 106400)
|
||||||
|
set(_Boost_CHRONO_DEPENDENCIES system)
|
||||||
|
set(_Boost_CONTEXT_DEPENDENCIES thread chrono system date_time)
|
||||||
|
set(_Boost_COROUTINE_DEPENDENCIES context system)
|
||||||
|
set(_Boost_FIBER_DEPENDENCIES context thread chrono system date_time)
|
||||||
|
set(_Boost_FILESYSTEM_DEPENDENCIES system)
|
||||||
|
set(_Boost_IOSTREAMS_DEPENDENCIES regex)
|
||||||
|
set(_Boost_LOG_DEPENDENCIES date_time log_setup system filesystem thread regex chrono atomic)
|
||||||
|
set(_Boost_MATH_DEPENDENCIES math_c99 math_c99f math_c99l math_tr1 math_tr1f math_tr1l atomic)
|
||||||
|
set(_Boost_MPI_DEPENDENCIES serialization)
|
||||||
|
set(_Boost_MPI_PYTHON_DEPENDENCIES python mpi serialization)
|
||||||
|
set(_Boost_RANDOM_DEPENDENCIES system)
|
||||||
|
set(_Boost_THREAD_DEPENDENCIES chrono system date_time atomic)
|
||||||
|
set(_Boost_WAVE_DEPENDENCIES filesystem system serialization thread chrono date_time atomic)
|
||||||
|
set(_Boost_WSERIALIZATION_DEPENDENCIES serialization)
|
||||||
else()
|
else()
|
||||||
message(WARNING "Imported targets not available for Boost version ${Boost_VERSION}")
|
message(WARNING "Imported targets not available for Boost version ${Boost_VERSION}")
|
||||||
set(_Boost_IMPORTED_TARGETS FALSE)
|
set(_Boost_IMPORTED_TARGETS FALSE)
|
||||||
@ -882,7 +899,9 @@ macro(_Boost_UPDATE_LIBRARY_SEARCH_DIRS_WITH_PREBUILT_PATHS componentlibvar base
|
|||||||
else()
|
else()
|
||||||
set(_arch_suffix 32)
|
set(_arch_suffix 32)
|
||||||
endif()
|
endif()
|
||||||
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19)
|
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.10)
|
||||||
|
list(APPEND ${componentlibvar} ${${basedir}}/lib${_arch_suffix}-msvc-15.0)
|
||||||
|
elseif(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19)
|
||||||
list(APPEND ${componentlibvar} ${${basedir}}/lib${_arch_suffix}-msvc-14.0)
|
list(APPEND ${componentlibvar} ${${basedir}}/lib${_arch_suffix}-msvc-14.0)
|
||||||
elseif(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18)
|
elseif(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18)
|
||||||
list(APPEND ${componentlibvar} ${${basedir}}/lib${_arch_suffix}-msvc-12.0)
|
list(APPEND ${componentlibvar} ${${basedir}}/lib${_arch_suffix}-msvc-12.0)
|
||||||
@ -944,7 +963,7 @@ else()
|
|||||||
# _Boost_COMPONENT_HEADERS. See the instructions at the top of
|
# _Boost_COMPONENT_HEADERS. See the instructions at the top of
|
||||||
# _Boost_COMPONENT_DEPENDENCIES.
|
# _Boost_COMPONENT_DEPENDENCIES.
|
||||||
set(_Boost_KNOWN_VERSIONS ${Boost_ADDITIONAL_VERSIONS}
|
set(_Boost_KNOWN_VERSIONS ${Boost_ADDITIONAL_VERSIONS}
|
||||||
"1.62.0" "1.62" "1.61.0" "1.61" "1.60.0" "1.60"
|
"1.63.0" "1.63" "1.62.0" "1.62" "1.61.0" "1.61" "1.60.0" "1.60"
|
||||||
"1.59.0" "1.59" "1.58.0" "1.58" "1.57.0" "1.57" "1.56.0" "1.56" "1.55.0" "1.55"
|
"1.59.0" "1.59" "1.58.0" "1.58" "1.57.0" "1.57" "1.56.0" "1.56" "1.55.0" "1.55"
|
||||||
"1.54.0" "1.54" "1.53.0" "1.53" "1.52.0" "1.52" "1.51.0" "1.51"
|
"1.54.0" "1.54" "1.53.0" "1.53" "1.52.0" "1.52" "1.51.0" "1.51"
|
||||||
"1.50.0" "1.50" "1.49.0" "1.49" "1.48.0" "1.48" "1.47.0" "1.47" "1.46.1"
|
"1.50.0" "1.50" "1.49.0" "1.49" "1.48.0" "1.48" "1.47.0" "1.47" "1.46.1"
|
||||||
|
@ -88,8 +88,13 @@ foreach(suffix ${PostgreSQL_KNOWN_VERSIONS})
|
|||||||
"PostgreSQL/${suffix}/include/server")
|
"PostgreSQL/${suffix}/include/server")
|
||||||
endif()
|
endif()
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
|
list(APPEND PostgreSQL_LIBRARY_ADDITIONAL_SEARCH_SUFFIXES
|
||||||
|
"pgsql-${suffix}/lib")
|
||||||
|
list(APPEND PostgreSQL_INCLUDE_ADDITIONAL_SEARCH_SUFFIXES
|
||||||
|
"pgsql-${suffix}/include")
|
||||||
list(APPEND PostgreSQL_TYPE_ADDITIONAL_SEARCH_SUFFIXES
|
list(APPEND PostgreSQL_TYPE_ADDITIONAL_SEARCH_SUFFIXES
|
||||||
"postgresql/${suffix}/server")
|
"postgresql/${suffix}/server"
|
||||||
|
"pgsql-${suffix}/include/server")
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# CMake version number components.
|
# CMake version number components.
|
||||||
set(CMake_VERSION_MAJOR 3)
|
set(CMake_VERSION_MAJOR 3)
|
||||||
set(CMake_VERSION_MINOR 7)
|
set(CMake_VERSION_MINOR 7)
|
||||||
set(CMake_VERSION_PATCH 1)
|
set(CMake_VERSION_PATCH 2)
|
||||||
#set(CMake_VERSION_RC 0)
|
#set(CMake_VERSION_RC 0)
|
||||||
|
@ -331,6 +331,9 @@ void cmFileMonitor::MonitorPaths(const std::vector<std::string>& paths,
|
|||||||
rootSegment)); // Can not be both filename and root part of the path!
|
rootSegment)); // Can not be both filename and root part of the path!
|
||||||
|
|
||||||
const std::string& currentSegment = pathSegments[i];
|
const std::string& currentSegment = pathSegments[i];
|
||||||
|
if (currentSegment.empty()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
cmIBaseWatcher* nextWatcher = currentWatcher->Find(currentSegment);
|
cmIBaseWatcher* nextWatcher = currentWatcher->Find(currentSegment);
|
||||||
if (!nextWatcher) {
|
if (!nextWatcher) {
|
||||||
|
@ -93,7 +93,16 @@ cmGlobalVisualStudio10Generator::cmGlobalVisualStudio10Generator(
|
|||||||
this->SystemIsWindowsPhone = false;
|
this->SystemIsWindowsPhone = false;
|
||||||
this->SystemIsWindowsStore = false;
|
this->SystemIsWindowsStore = false;
|
||||||
this->MSBuildCommandInitialized = false;
|
this->MSBuildCommandInitialized = false;
|
||||||
|
{
|
||||||
|
std::string envPlatformToolset;
|
||||||
|
if (cmSystemTools::GetEnv("PlatformToolset", envPlatformToolset) &&
|
||||||
|
envPlatformToolset == "Windows7.1SDK") {
|
||||||
|
// We are running from a Windows7.1SDK command prompt.
|
||||||
|
this->DefaultPlatformToolset = "Windows7.1SDK";
|
||||||
|
} else {
|
||||||
this->DefaultPlatformToolset = "v100";
|
this->DefaultPlatformToolset = "v100";
|
||||||
|
}
|
||||||
|
}
|
||||||
this->Version = VS10;
|
this->Version = VS10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -720,12 +720,16 @@ static Json::Value DumpTarget(cmGeneratorTarget* target,
|
|||||||
|
|
||||||
Json::Value result = Json::objectValue;
|
Json::Value result = Json::objectValue;
|
||||||
result[kNAME_KEY] = target->GetName();
|
result[kNAME_KEY] = target->GetName();
|
||||||
|
|
||||||
result[kTYPE_KEY] = typeName;
|
result[kTYPE_KEY] = typeName;
|
||||||
result[kFULL_NAME_KEY] = target->GetFullName(config);
|
|
||||||
result[kSOURCE_DIRECTORY_KEY] = lg->GetCurrentSourceDirectory();
|
result[kSOURCE_DIRECTORY_KEY] = lg->GetCurrentSourceDirectory();
|
||||||
result[kBUILD_DIRECTORY_KEY] = lg->GetCurrentBinaryDirectory();
|
result[kBUILD_DIRECTORY_KEY] = lg->GetCurrentBinaryDirectory();
|
||||||
|
|
||||||
|
if (type == cmState::INTERFACE_LIBRARY) {
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
result[kFULL_NAME_KEY] = target->GetFullName(config);
|
||||||
|
|
||||||
if (target->HaveWellDefinedOutputFiles()) {
|
if (target->HaveWellDefinedOutputFiles()) {
|
||||||
Json::Value artifacts = Json::arrayValue;
|
Json::Value artifacts = Json::arrayValue;
|
||||||
artifacts.append(target->GetFullPath(config, false));
|
artifacts.append(target->GetFullPath(config, false));
|
||||||
@ -923,7 +927,7 @@ cmServerResponse cmServerProtocol1_0::ProcessConfigure(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Make sure the types of cacheArguments matches (if given):
|
// Make sure the types of cacheArguments matches (if given):
|
||||||
std::vector<std::string> cacheArgs;
|
std::vector<std::string> cacheArgs = { "unused" };
|
||||||
bool cacheArgumentsError = false;
|
bool cacheArgumentsError = false;
|
||||||
const Json::Value passedArgs = request.Data[kCACHE_ARGUMENTS_KEY];
|
const Json::Value passedArgs = request.Data[kCACHE_ARGUMENTS_KEY];
|
||||||
if (!passedArgs.isNull()) {
|
if (!passedArgs.isNull()) {
|
||||||
@ -984,6 +988,8 @@ cmServerResponse cmServerProtocol1_0::ProcessConfigure(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cmSystemTools::ResetErrorOccuredFlag(); // Reset error state
|
||||||
|
|
||||||
if (cm->AddCMakePaths() != 1) {
|
if (cm->AddCMakePaths() != 1) {
|
||||||
return request.ReportError("Failed to set CMake paths.");
|
return request.ReportError("Failed to set CMake paths.");
|
||||||
}
|
}
|
||||||
|
@ -164,6 +164,8 @@ static cmVS7FlagTable cmVS140CLFlagTable[] = {
|
|||||||
{ "TreatWChar_tAsBuiltInType", "Zc:wchar_t", "", "true", 0 },
|
{ "TreatWChar_tAsBuiltInType", "Zc:wchar_t", "", "true", 0 },
|
||||||
{ "ForceConformanceInForLoopScope", "Zc:forScope-", "", "false", 0 },
|
{ "ForceConformanceInForLoopScope", "Zc:forScope-", "", "false", 0 },
|
||||||
{ "ForceConformanceInForLoopScope", "Zc:forScope", "", "true", 0 },
|
{ "ForceConformanceInForLoopScope", "Zc:forScope", "", "true", 0 },
|
||||||
|
{ "RemoveUnreferencedCodeData", "Zc:inline-", "", "false", 0 },
|
||||||
|
{ "RemoveUnreferencedCodeData", "Zc:inline", "", "true", 0 },
|
||||||
{ "RuntimeTypeInfo", "GR-", "", "false", 0 },
|
{ "RuntimeTypeInfo", "GR-", "", "false", 0 },
|
||||||
{ "RuntimeTypeInfo", "GR", "", "true", 0 },
|
{ "RuntimeTypeInfo", "GR", "", "true", 0 },
|
||||||
{ "OpenMPSupport", "openmp-", "", "false", 0 },
|
{ "OpenMPSupport", "openmp-", "", "false", 0 },
|
||||||
|
@ -171,6 +171,7 @@ static cmVS7FlagTable cmVS141CLFlagTable[] = {
|
|||||||
{ "TreatWChar_tAsBuiltInType", "Zc:wchar_t", "", "true", 0 },
|
{ "TreatWChar_tAsBuiltInType", "Zc:wchar_t", "", "true", 0 },
|
||||||
{ "ForceConformanceInForLoopScope", "Zc:forScope-", "", "false", 0 },
|
{ "ForceConformanceInForLoopScope", "Zc:forScope-", "", "false", 0 },
|
||||||
{ "ForceConformanceInForLoopScope", "Zc:forScope", "", "true", 0 },
|
{ "ForceConformanceInForLoopScope", "Zc:forScope", "", "true", 0 },
|
||||||
|
{ "RemoveUnreferencedCodeData", "Zc:inline-", "", "false", 0 },
|
||||||
{ "RemoveUnreferencedCodeData", "Zc:inline", "", "true", 0 },
|
{ "RemoveUnreferencedCodeData", "Zc:inline", "", "true", 0 },
|
||||||
{ "EnforceTypeConversionRules", "Zc:rvalueCast-", "", "false", 0 },
|
{ "EnforceTypeConversionRules", "Zc:rvalueCast-", "", "false", 0 },
|
||||||
{ "EnforceTypeConversionRules", "Zc:rvalueCast", "", "true", 0 },
|
{ "EnforceTypeConversionRules", "Zc:rvalueCast", "", "true", 0 },
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user