summaryrefslogtreecommitdiffstats
path: root/Modules/FindCygwin.cmake
blob: a21483e33c07dc8e4e5b90a05089a246ebce7ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 
# this module looks for Cygwin and some usual commands
#

FIND_PATH(CYGWIN_INSTALL_PATH
  cygwin.bat
  "C:/Cygwin" 
  "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]"
)

FIND_PROGRAM(MV
   mv
   ${CYGWIN_INSTALL_PATH}/bin
)

FIND_PROGRAM(RM
   rm
   ${CYGWIN_INSTALL_PATH}/bin
)

FIND_PROGRAM(TAR
   NAMES 
   tar 
   gtar
   PATH
   ${CYGWIN_INSTALL_PATH}/bin
)