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
ec3690fd
Commit
ec3690fd
authored
Jun 28, 2014
by
Daenyth
Browse files
Fix typo in gcc opts
parent
8d31fe6c
Changes
1
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ec3690fd
...
...
@@ -59,7 +59,7 @@ IF(MSVC)
ELSEIF
(
CMAKE_COMPILER_IS_GNUCXX
)
# linux/gcc, bsd/gcc, windows/mingw
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
()
# other: osx/llvm, bsd/llvm
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