Deprecate FindUnixCommands?
The docs for the FindUnixCommands
module say that its purpose is to:
Find Unix commands, including the ones from Cygwin
This module looks for the Unix commands
bash
,cp
,gzip
,mv
,rm
, andtar
and stores the result in the variablesBASH
,CP
,GZIP
,MV
,RM
, andTAR
.
All of the operations performed by those commands (except ${BASH}
, I suppose) are redundant with cmake -E
subcommands. Should the module be deprecated in favor of just using execute_process()
or add_custom_command()
/add_custom_target()
with ${CMAKE_COMMAND} -E
as a more cross-platform method of scripting filesystem actions? Does the Find module have any other purpose beyond configuration or install scripting?