Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
052996b7
Commit
052996b7
authored
Jun 29, 2014
by
Fabio Bas
Browse files
Merge remote-tracking branch 'upstream/master' into cmake_qt5
parents
c0981a17
ec3690fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
052996b7
...
@@ -77,7 +77,7 @@ IF(MSVC)
...
@@ -77,7 +77,7 @@ IF(MSVC)
ELSEIF
(
CMAKE_COMPILER_IS_GNUCXX
)
ELSEIF
(
CMAKE_COMPILER_IS_GNUCXX
)
# linux/gcc, bsd/gcc, windows/mingw
# linux/gcc, bsd/gcc, windows/mingw
set
(
CMAKE_CXX_FLAGS_RELEASE
"-s -O2"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"-s -O2"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-ggdb -O0 -Wall -Wextra -pedantic -Werror -Wcast-align -Wmissing-declarations -Winline -Wno-long-long -Wno-error=extra -Wno-error=unused-parameter -Wno-inline -Wno-error=delete-non-virtual-dtor -W
-
noerror=sign-compare -Wno-error=reorder -Wno-error=missing-declarations"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-ggdb -O0 -Wall -Wextra -pedantic -Werror -Wcast-align -Wmissing-declarations -Winline -Wno-long-long -Wno-error=extra -Wno-error=unused-parameter -Wno-inline -Wno-error=delete-non-virtual-dtor -Wno
-
error=sign-compare -Wno-error=reorder -Wno-error=missing-declarations"
)
ELSE
()
ELSE
()
# other: osx/llvm, bsd/llvm
# other: osx/llvm, bsd/llvm
set
(
CMAKE_CXX_FLAGS_RELEASE
"-O2"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"-O2"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment