Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
30aa715fac06deba7eaa3e6167cf34eb4d2521d0
/
.
/
Tests
/
RunCMake
/
ExternalProject
/
countArgs.cmake
blob: ee6429a8e20440d43137f8e3c0a63e0a1c00744a [
file
] [
log
] [
blame
]
message
(
STATUS
"Number of arguments for ${CMAKE_ARGV3}: ${CMAKE_ARGC}"
)
math
(
EXPR
last
"${CMAKE_ARGC} - 1"
)
foreach
(
n RANGE
4
$
{
last
})
message
(
STATUS
"${CMAKE_ARGV3} argument ${n}: '${CMAKE_ARGV${n}}'"
)
endforeach
()