f65bb82f36
Use the KWSys Process "MergeOutput" option to give the child process the same pipe (or file) for both stdout and stderr. This allows natural merging of stdout and stderr together instead of merging on arbitrary buffered read boundaries as before.
8 lines
179 B
CMake
8 lines
179 B
CMake
execute_process(
|
|
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_LIST_DIR}/MergeOutput.cmake
|
|
OUTPUT_FILE out.txt
|
|
ERROR_FILE out.txt
|
|
)
|
|
file(READ out.txt out)
|
|
message("${out}")
|