diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-29 20:34:08 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-29 20:34:08 +0300 |
commit | 1106f51640ee3cec107a8ac904a818767c21a9aa (patch) | |
tree | 477c6c94b3c5cf2d3cf700eee686377ad2f8ad7c /project/os.py | |
parent | project: add os.py (diff) | |
download | cmake-common-1106f51640ee3cec107a8ac904a818767c21a9aa.tar.gz cmake-common-1106f51640ee3cec107a8ac904a818767c21a9aa.zip |
project.boost: first-class MinGW-w64 support
Diffstat (limited to 'project/os.py')
-rw-r--r-- | project/os.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/project/os.py b/project/os.py index 86ccaad..2f5f088 100644 --- a/project/os.py +++ b/project/os.py @@ -31,6 +31,11 @@ def on_windows(): return OS.current() is OS.WINDOWS +def on_windows_like(): + os = OS.current() + return os is OS.WINDOWS or os is OS.CYGWIN + + def on_linux_like(): os = OS.current() return os is OS.LINUX or os is OS.CYGWIN |