mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 05:30:26 +08:00
7d2449c346
* [docs] Delete embedded documentation in favor of docs/ Drive-by for the helper ports: 1. "documentation": "https://vcpkg.io/en/docs/README.html" 2. "license": "MIT" 3. Use `include_guard(GLOBAL)` in all script files 4. Make sure any persistent variables are saved to the cache * [docs] Restore empty regenerate.ps1 to satisfy Azure Pipelines * [docs] PR comments
9 lines
466 B
CMake
9 lines
466 B
CMake
function(vcpkg_buildpath_length_warning warning_length)
|
|
string(LENGTH "${CURRENT_BUILDTREES_DIR}" buildtrees_path_length)
|
|
if(buildtrees_path_length GREATER warning_length AND CMAKE_HOST_WIN32)
|
|
message(WARNING "${PORT}'s buildsystem uses very long paths and may fail on your system.\n"
|
|
"We recommend moving vcpkg to a short path such as 'C:\\src\\vcpkg' or using the subst command."
|
|
)
|
|
endif()
|
|
endfunction()
|