diff options
author | Dāvis Mosāns <davispuh@gmail.com> | 2016-11-23 14:11:40 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-30 09:06:51 -0500 |
commit | 2ed473b3b8e28485e6a14a49c7e0e4133eb02eee (patch) | |
tree | 1343f0e826693c923074102e588f90f0678e3cc5 /Tests/RunCMake/execute_process/RunCMakeTest.cmake | |
parent | 076aef8e45a91e83f9a7d879712fd70778d67c92 (diff) | |
download | cmake-2ed473b3b8e28485e6a14a49c7e0e4133eb02eee.tar.gz |
execute_process: Add ENCODING option for Windows child process output
Different applications can use different output encodings.
Diffstat (limited to 'Tests/RunCMake/execute_process/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/execute_process/RunCMakeTest.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/execute_process/RunCMakeTest.cmake b/Tests/RunCMake/execute_process/RunCMakeTest.cmake index 2080437101..62e18c6010 100644 --- a/Tests/RunCMake/execute_process/RunCMakeTest.cmake +++ b/Tests/RunCMake/execute_process/RunCMakeTest.cmake @@ -6,3 +6,8 @@ unset(RunCMake_TEST_OUTPUT_MERGE) run_cmake_command(MergeOutputFile ${CMAKE_COMMAND} -P ${RunCMake_SOURCE_DIR}/MergeOutputFile.cmake) run_cmake_command(MergeOutputVars ${CMAKE_COMMAND} -P ${RunCMake_SOURCE_DIR}/MergeOutputVars.cmake) + +run_cmake(EncodingMissing) +if(TEST_ENCODING_EXE) + run_cmake_command(EncodingUTF8 ${CMAKE_COMMAND} -DTEST_ENCODING=UTF8 -DTEST_ENCODING_EXE=${TEST_ENCODING_EXE} -P ${RunCMake_SOURCE_DIR}/Encoding.cmake) +endif() |