mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
The default was originally AUTO in commit2ed473b3b8(execute_process: Add ENCODING option for Windows child process output, 2016-11-23, v3.8.0-rc1~232^2) but was changed back to NONE by commit07c3380a6e(execute_process: Restore no-decoding default behavior, 2017-02-13, v3.8.0-rc2~26^2) for CMake 3.8. Later it was accidentally changed back to AUTO by commitb783e62533(cmExecuteProcessCommand: Port to cmArgumentParser, 2019-03-25, v3.15.0-rc1~270^2) in CMake 3.15 but the documentation was not updated. Document the current default, AUTO, and add a test case to verify it. Issue: #26262
4 lines
123 B
CMake
4 lines
123 B
CMake
# No explicit ENCODING option; fall back to default.
|
|
set(CODEPAGE 54936)
|
|
include(${CMAKE_CURRENT_LIST_DIR}/Encoding.cmake)
|