Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
d908a890ebfd824bb935131f6003b7b3ba041fb8
/
.
/
Tests
/
RunCMake
/
FetchContent
/
countArgs.cmake
blob: 7542af4a32b0c6ed487edfab4bc600c9e0c864e5 [
file
] [
log
] [
blame
]
message
(
STATUS
"Number of arguments: ${CMAKE_ARGC}"
)
math
(
EXPR
last
"${CMAKE_ARGC} - 1"
)
foreach
(
n RANGE
3
$
{
last
})
message
(
STATUS
"Argument ${n}: '${CMAKE_ARGV${n}}'"
)
endforeach
()