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/file/UPLOAD-netrc-bad.cmake

16 lines
428 B

if(NOT "${CMAKE_CURRENT_SOURCE_DIR}" MATCHES "^/")
set(slash /)
endif()
file(UPLOAD "" "" NETRC)
file(UPLOAD "" "" NETRC_FILE)
set(CMAKE_NETRC FALSE)
file(UPLOAD
"${CMAKE_CURRENT_SOURCE_DIR}/UPLOAD-netrc-bad.txt"
"file://${slash}${CMAKE_CURRENT_BINARY_DIR}/netrc-bad.txt"
NETRC INVALID
)
file(UPLOAD
"${CMAKE_CURRENT_SOURCE_DIR}/UPLOAD-netrc-bad.txt"
"file://${slash}${CMAKE_CURRENT_BINARY_DIR}/netrc-bad.txt"
)