FindUnixCommands¶
在 3.26 版之後被棄用: Use ${CMAKE_COMMAND} -E subcommands instead.
Finds Unix commands bash, cp, gzip, mv, rm, and
tar, including the ones from Cygwin or MSYS:
find_package(UnixCommands [...])
結果變數¶
該模組定義了以下變數:
UnixCommands_FOUND在 3.3 版被加入.
Boolean indicating whether Unix commands were found.
快取變數¶
The following cache variables may also be set:
BASHThe path to the
bashcommand-line executable.CPThe path to the
cpcommand-line executable.GZIPThe path to the
gzipcommand-line executable.MVThe path to the
mvcommand-line executable.RMThe path to the
rmcommand-line executable.TARThe path to the
tarcommand-line executable.