Warning, /frameworks/extra-cmake-modules/tests/ECMAddTests/check_files.cmake is written in an unsupported language. File is not indexed.

0001 set(i 0)
0002 set(in_file_args FALSE)
0003 while (i LESS CMAKE_ARGC)
0004     if (in_file_args)
0005         if (NOT EXISTS "${CMAKE_ARGV${i}}")
0006             message(FATAL_ERROR "${CMAKE_ARGV${i}} does not exist")
0007         endif()
0008     elseif (CMAKE_ARGV${i} STREQUAL "-P")
0009         # skip script name
0010         math(EXPR i "${i} + 1")
0011         set(in_file_args TRUE)
0012     endif()
0013     math(EXPR i "${i} + 1")
0014 endwhile()
0015