Encoding-windows.cmake 292 B

1234567891011
  1. if(CMP0176 STREQUAL "NEW")
  2. cmake_policy(SET CMP0176 NEW)
  3. endif()
  4. # Set the console code page.
  5. execute_process(COMMAND cmd /c chcp ${CODEPAGE})
  6. include(${CMAKE_CURRENT_LIST_DIR}/Encoding-common.cmake)
  7. # Save our internal UTF-8 representation of the output.
  8. file(WRITE "out.txt" "${out}")