FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cppcheck/console_common.pri at master · albert-github/cppcheck · GitHub
albert-github
/
cppcheck
Public
forked from
cppcheck-opensource/cppcheck
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cppcheck
/
console_common.pri
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (19 loc) · 571 Bytes
Breadcrumbs
cppcheck
/
console_common.pri
Copy path
File metadata and controls
23 lines (19 loc) · 571 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
console_common.pri
#
These are common definitions for console builds.
win32
{
CONFIG
+= embed_manifest_exe
console
DEFINES
+=
_CRT_SECURE_NO_WARNINGS
LIBS
+=
-lshlwapi
}
#
Add more strict compiling flags for GCC
contains
(
QMAKE_CXX, g++
) {
QMAKE_CXXFLAGS_WARN_ON
+=
-Wextra
-pedantic
-Wfloat-equal
-Wcast-qual
-Wlogical-op
-Wno-long-long
}
#
Change Visual Studio compiler (CL) warning level to W4
contains
(
QMAKE_CXX, cl
) {
QMAKE_CXXFLAGS_WARN_ON
-=
-W3
QMAKE_CXXFLAGS_WARN_ON
+=
-W4
}
CONFIG
(
release
,
debug
|
release
) {
DEFINES
+=
NDEBUG
}
Back
|
FazBrowse Home
|
New Git URL