Function
_windows_lib_directory
(mupdf_local, build_type)
Source from the content-addressed store, hash-verified
| 883 | |
| 884 | |
| 885 | def _windows_lib_directory(mupdf_local, build_type): |
| 886 | ret = f'{mupdf_local}/platform/win32/' |
| 887 | if _cpu_bits() == 64: |
| 888 | ret += 'x64/' |
| 889 | if build_type == 'release': |
| 890 | ret += 'Release/' |
| 891 | elif build_type == 'debug': |
| 892 | ret += 'Debug/' |
| 893 | else: |
| 894 | assert 0, f'Unrecognised {build_type=}.' |
| 895 | return ret |
| 896 | |
| 897 | |
| 898 | def _cpu_bits(): |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…