Files
CMake/Tests/RunCMake/file/MAKE_DIRECTORY-fail.cmake
T
Terence Noone efae1ab68b file(MAKE_DIRECTORY): Provide a more descriptive error message
Previously, MAKE_DIRECTORY would print `problem creating directory: {}`,
which was very unhelpful for debugging.  Extend the message with the
OS error string.
2022-12-08 07:54:55 -05:00

3 lines
116 B
CMake

file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/file" "")
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/file/directory")