024e25e485
Move the test cases from Tests/CMakeTests/ConfigureFileTest.cmake.in over to use the RunCMake.configure_file infrastructure. This does much more robust verification of CMake output for each test case, and would have caught the regression fixed in our parent commit.
4 lines
168 B
CMake
4 lines
168 B
CMake
set(file_name ${CMAKE_CURRENT_BINARY_DIR}/NewLineStyle.txt)
|
|
file(WRITE ${file_name} "Data\n")
|
|
configure_file(${file_name} ${file_name}.out COPYONLY NEWLINE_STYLE DOS)
|