Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jakub Bureš
UPG Příklady
Commits
1ecd5d22
Commit
1ecd5d22
authored
2 years ago
by
Jakub Bureš
Browse files
Options
Download
Email Patches
Plain Diff
Do not treat warnings as errors in MSVC
parent
74a3f04a
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-2
CMakeLists.txt
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
+
2
-
2
View file @
1ecd5d22
...
...
@@ -6,9 +6,9 @@ set(CMAKE_CXX_STANDARD 11)
set
(
CMAKE_CXX_STANDARD_REQUIRED True
)
if
(
MSVC
)
add_compile_options
(
/W4
/WX
)
add_compile_options
(
/W4
)
else
()
add_compile_options
(
-Wall -Wextra -Wpedantic
)
add_compile_options
(
-Wall -Wextra -Wpedantic
-Werr
)
endif
()
add_executable
(
HelloWorld
"HelloWorld/hello.cpp"
)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets