COMP: add wmake rules for mingw (#1238)

This commit is contained in:
Mark Olesen
2019-04-28 13:36:50 +02:00
committed by Andrew Heather
parent 07ec741e2a
commit a54aff9d26
16 changed files with 291 additions and 4 deletions

View File

@ -227,6 +227,13 @@ setenv FOAM_RUN "$WM_PROJECT_USER_DIR/run"
# Default to system compiler
if (! $?WM_COMPILER_TYPE ) setenv WM_COMPILER_TYPE system
# Cross-compiling
switch ("$WM_COMPILER")
case Mingw*:
setenv WM_OSTYPE MSwindows
breaksw
endsw
# Adjustments for non-gcc compilers
switch ("$WM_COMPILER")
case Clang*: # Clang compiler suite