summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/UPLOAD-netrc-bad.cmake
blob: e59a2c498832256411bb2a0088f6054f17ac3928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"
  )