- rearranged order of flags so that FOAM_EXTRA_CXXFLAGS is added after the WARN/OPT/DBUG flags CONFIG: drop wmake rules for PGI compiler (defunct)
24 lines
748 B
Plaintext
24 lines
748 B
Plaintext
#------------------------------------------------------------------------------
|
|
# Intel compiler is new enough to support c++14
|
|
#------------------------------------------------------------------------------
|
|
SUFFIXES += .C .cc .cpp .cxx
|
|
|
|
CC = icpc$(COMPILER_VERSION) -std=c++14
|
|
|
|
c++ARCH =
|
|
c++DBUG =
|
|
c++OPT = -O2
|
|
ptFLAGS = -DNoRepository
|
|
|
|
c++WARN = \
|
|
-Wall -Wextra \
|
|
-Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof \
|
|
-Wno-unknown-pragmas \
|
|
-diag-disable 327,654,1125,1292,2289,2304,11062,11074,11076
|
|
|
|
# Less restrictive warnings (eg, for flex++, CGAL, etc.)
|
|
c++LESSWARN = \
|
|
-diag-disable 1224,2026,2305
|
|
|
|
#------------------------------------------------------------------------------
|