mirror of
https://github.com/reactos/CMake.git
synced 2025-01-05 18:38:46 +00:00
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
159 B
CMake
4 lines
159 B
CMake
set(file_name ${CMAKE_CURRENT_BINARY_DIR}/NewLineStyle.txt)
|
|
file(WRITE ${file_name} "Data\n")
|
|
configure_file(${file_name} ${file_name}.out NEWLINE_STYLE FOO)
|