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
Brad King
CMake
Commits
4d9fec4f
Commit
4d9fec4f
authored
Dec 01, 2014
by
Brad King
💬
Committed by
Kitware Robot
Dec 01, 2014
Browse files
Merge topic 'use-latest-language-dialects'
d49f1c5e
Build CMake with most-recent available language dialect.
parents
b9d437a2
d49f1c5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
4d9fec4f
...
...
@@ -36,6 +36,10 @@ if("${CMake_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
endmacro
()
endif
()
# Use most-recent available language dialects with GNU and Clang
set
(
CMAKE_C_STANDARD 11
)
set
(
CMAKE_CXX_STANDARD 14
)
# option to set the internal encoding of CMake to UTF-8
option
(
CMAKE_ENCODING_UTF8
"Use UTF-8 encoding internally (experimental)."
OFF
)
mark_as_advanced
(
CMAKE_ENCODING_UTF8
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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