File: RunCMakeTest.cmake

package info (click to toggle)
ycm-cmake-modules 0.13.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,640 kB
  • sloc: python: 319; sh: 181; makefile: 22
file content (31 lines) | stat: -rw-r--r-- 815 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
include(RunCMake)

run_cmake(IncludeUrl_url)
run_cmake(IncludeUrl_DESTINATION)
run_cmake(IncludeUrl_QUIET)
run_cmake(IncludeUrl_RESULT_VARIABLE)
run_cmake(IncludeUrl_STATUS)
run_cmake(IncludeUrl_RETRIES)
run_cmake(IncludeUrl_MD5)
run_cmake(IncludeUrl_SHA1)
if(WIN32)
  run_cmake(IncludeUrl_SHA1_unix_eol)
else()
  run_cmake(IncludeUrl_SHA1_win_eol)
endif()

run_cmake(IncludeUrl_OPTIONAL_download_fail)
run_cmake(IncludeUrl_OPTIONAL_sha1_fail)

run_cmake(IncludeUrl_DOWNLOAD_NORMAL)
run_cmake(IncludeUrl_DOWNLOAD_ALWAYS)
run_cmake(IncludeUrl_DOWNLOAD_ONCE)

run_cmake(IncludeUrl_script)

run_cmake(IncludeUrl_ERROR_url)
run_cmake(IncludeUrl_ERROR_RETRIES_lessthanone)
run_cmake(IncludeUrl_ERROR_RETRIES_notanumber)
run_cmake(IncludeUrl_ERROR_MD5)
run_cmake(IncludeUrl_ERROR_SHA1)
run_cmake(IncludeUrl_ERROR_script)