You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/RunCMake/Syntax/AtWithVariableFile.cmake

9 lines
233 B

set(right "wrong")
set(var "\${right}")
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/atfile.txt.in"
"${CMAKE_CURRENT_BINARY_DIR}/atfile.txt")
file(READ "${CMAKE_CURRENT_BINARY_DIR}/atfile.txt" output)
message("-->${output}<--")