mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-20 01:17:49 +08:00
aef838536e
* [vcpkg] Refactor out abi_tags_from_pre_build_info() * [vcpkg] Track Windows toolchain file in triplet hash * [vcpkg] Improve error messages when constructing PreBuildInfo * [vcpkg] Extract InstallPlanAction::BuildAbiInfo * [vcpkg] Extract Build::EnvCache and private-impl VcpkgPaths * [vcpkg] Enable compiler hash detection when binarycaching is enabled * [vcpkg] Downgrade warning about missing ABI keys When binarycaching is not enabled, this warning is spurious and provides no user value. * [vcpkg] Cleanup * [vcpkg] Refactor compiler tracking into triplet abi computation Move several static global caches into VcpkgPaths/EnvCache. Add feature flag 'compilertracking' to enable the new feature. * [vcpkg] Refactor out PreBuildInfo::using_vcvars() Move VcpkgTripletVar into build.cpp because it is not used outside that file. * [vcpkg] Address some code analysis warnings Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
9 lines
249 B
CMake
9 lines
249 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
project(detect_compiler)
|
|
|
|
file(SHA1 "${CMAKE_CXX_COMPILER}" CXX_HASH)
|
|
file(SHA1 "${CMAKE_C_COMPILER}" C_HASH)
|
|
string(SHA1 COMPILER_HASH "${C_HASH}${CXX_HASH}")
|
|
|
|
message("#COMPILER_HASH#${COMPILER_HASH}")
|