mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0032372: Configuration, qmake - define -Wall -Wextra flags for consistency with CMake options
This commit is contained in:
parent
8d52a74d03
commit
44a5aa517b
@ -2536,6 +2536,7 @@ proc osutils:cbp { theCmpl theOutDir theProjName thePlatform theSrcFiles theLibs
|
||||
lappend aCmplFlags "-DOCC_CONVERT_SIGNALS"
|
||||
}
|
||||
lappend aCmplFlags "-Wall"
|
||||
lappend aCmplFlags "-Wextra"
|
||||
lappend aCmplFlags "-fexceptions"
|
||||
}
|
||||
lappend aCmplFlagsRelease "-DNDEBUG"
|
||||
|
@ -13,8 +13,8 @@ OccGitRoot = $$_PRO_FILE_PWD_/../../../..
|
||||
|
||||
# Define compilation flags
|
||||
CONFIG += warn_on
|
||||
QMAKE_CFLAGS_WARN_ON = -Wall
|
||||
QMAKE_CXXFLAGS_WARN_ON = -Wall
|
||||
QMAKE_CFLAGS_WARN_ON = -Wall -Wextra
|
||||
QMAKE_CXXFLAGS_WARN_ON = -Wall -Wextra
|
||||
win32 {
|
||||
QMAKE_CFLAGS_WARN_ON = -W4
|
||||
QMAKE_CXXFLAGS_WARN_ON = -W4
|
||||
|
Loading…
x
Reference in New Issue
Block a user