[not loaded]winpath.pl -- Configure location of external programs on Windows
ClioPatria relies on two external executables that are not standard available on Windows: git.exe for providing version information and dot.exe, part of GraphViz for rendering graphs.
These programs must either be in %PATH% or made accessible through file_search_path/2. The latter can be by means of hard-coded paths or using the dynamic approach implemented below. This hopefully works out-of-the-box in most installations. If it fails for you, please help improving this config and/or add a hard-coded location. See the example below.
- candidate_prog_dir(-Dir) is nondet[private]
- Propose candidate locations for installing programs. The first two are described by Windows. The next takes the location of SWI-Prolog, assuming that other programs might be near and finally we deal with old Windows versions.
- prog_dir_pattern(+Prog, -Pattern) is nondet[private]
- Pattern is a partial pattern for expand_file_name/2 to find an executable below a place where programs are normally installed.
- prog_in_dir(+Prog, -Directory) is semidet[private]
- True if Prog resides in Directory. This is used to find
candidate directories for the
path
alias in Windows. The search is further guided by candidate_prog_dir/1 and prog_dir_pattern/2.