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/AtWithVariableAtOnlyFile.cmake

10 lines
241 B

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