CMake/Tests/RunCMake/execute_process/Encoding.cmake
Dāvis Mosāns 2ed473b3b8 execute_process: Add ENCODING option for Windows child process output
Different applications can use different output encodings.
2016-11-30 09:06:51 -05:00

7 lines
187 B
CMake

execute_process(
COMMAND ${TEST_ENCODING_EXE} ${TEST_ENCODING} ${CMAKE_CURRENT_LIST_DIR}/EncodingUTF8-stderr.txt
OUTPUT_VARIABLE out
ENCODING ${TEST_ENCODING}
)
message("${out}")