2005-12-14 18:51:08 +00:00
|
|
|
# - Find unix commands from cygwin
|
|
|
|
# This module looks for some usual Unix commands.
|
2001-11-02 21:44:00 +00:00
|
|
|
#
|
|
|
|
|
2004-08-27 02:52:53 +00:00
|
|
|
INCLUDE(FindCygwin)
|
2001-11-02 21:44:00 +00:00
|
|
|
|
2001-12-04 15:55:17 +00:00
|
|
|
FIND_PROGRAM(BASH
|
|
|
|
bash
|
|
|
|
${CYGWIN_INSTALL_PATH}/bin
|
|
|
|
/bin
|
|
|
|
/usr/bin
|
|
|
|
/usr/local/bin
|
|
|
|
/sbin
|
|
|
|
)
|
|
|
|
MARK_AS_ADVANCED(
|
|
|
|
BASH
|
|
|
|
)
|
|
|
|
|
|
|
|
FIND_PROGRAM(CP
|
|
|
|
cp
|
|
|
|
${CYGWIN_INSTALL_PATH}/bin
|
|
|
|
/bin
|
|
|
|
/usr/bin
|
|
|
|
/usr/local/bin
|
|
|
|
/sbin
|
|
|
|
)
|
|
|
|
MARK_AS_ADVANCED(
|
|
|
|
CP
|
|
|
|
)
|
|
|
|
|
|
|
|
FIND_PROGRAM(GZIP
|
|
|
|
gzip
|
|
|
|
${CYGWIN_INSTALL_PATH}/bin
|
|
|
|
/bin
|
|
|
|
/usr/bin
|
|
|
|
/usr/local/bin
|
|
|
|
/sbin
|
|
|
|
)
|
|
|
|
MARK_AS_ADVANCED(
|
|
|
|
GZIP
|
|
|
|
)
|
|
|
|
|
|
|
|
FIND_PROGRAM(MV
|
|
|
|
mv
|
|
|
|
${CYGWIN_INSTALL_PATH}/bin
|
|
|
|
/bin
|
|
|
|
/usr/bin
|
|
|
|
/usr/local/bin
|
|
|
|
/sbin
|
|
|
|
)
|
|
|
|
MARK_AS_ADVANCED(
|
|
|
|
MV
|
|
|
|
)
|
|
|
|
|
|
|
|
FIND_PROGRAM(RM
|
|
|
|
rm
|
|
|
|
${CYGWIN_INSTALL_PATH}/bin
|
|
|
|
/bin
|
|
|
|
/usr/bin
|
|
|
|
/usr/local/bin
|
|
|
|
/sbin
|
|
|
|
)
|
|
|
|
MARK_AS_ADVANCED(
|
|
|
|
RM
|
|
|
|
)
|
|
|
|
|
|
|
|
FIND_PROGRAM(TAR
|
|
|
|
NAMES
|
|
|
|
tar
|
|
|
|
gtar
|
|
|
|
PATH
|
|
|
|
${CYGWIN_INSTALL_PATH}/bin
|
|
|
|
/bin
|
|
|
|
/usr/bin
|
|
|
|
/usr/local/bin
|
|
|
|
/sbin
|
|
|
|
)
|
|
|
|
MARK_AS_ADVANCED(
|
|
|
|
TAR
|
|
|
|
)
|