- uses '-g -DFULLDEBUG' (like Debug), but with -O3 (like Opt). This adds in debug symbols and FULLDEBUG code segments (good for code development) but retains -O3 optimizations and code paths and avoids the much slower -O0 associated with 'Debug'. - add in central wmake/General/common/{c,c++}XXX tuning, which helps reduce the number of nearly identical files ENH: add support for wmake -debug-Og
27 lines
786 B
Plaintext
27 lines
786 B
Plaintext
#------------------------------------------------------------------------------
|
|
# Intel compiler
|
|
#------------------------------------------------------------------------------
|
|
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
|
|
|
|
# Tuning
|
|
sinclude $(GENERAL_RULES)/common/c++$(WM_COMPILE_OPTION)
|
|
|
|
#------------------------------------------------------------------------------
|