[CMake] cmake -P arguments
Brandon Van Every
bvanevery at gmail.com
Fri Sep 7 11:24:07 EDT 2007
If I call a CMake script using
cmake -P myscript.cmake arg1 arg2 arg3 ... argn
can I get the arguments somehow? I'm familiar with passing definitions via
cmake -Dvar1=value1 -Dvar2=value2 ... -Dvarn=valuen -P myscript.cmake
but I'm interested in not having to remember any names of definitions.
I've looked in the usual docs/wiki, the useful variables, the
archives to some degree, and I've grepped the sources some. Haven't
found what I'm looking for. Does it exist?
Cheers,
Brandon Van Every
More information about the CMake
mailing list