Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
20a37b32
Commit
20a37b32
authored
Aug 21, 2019
by
Praetorius, Simon
Browse files
check for cxx flags with -pedantic-errors flag
parent
87a7960d
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/modules/AmdisCXXFeatures.cmake
View file @
20a37b32
include
(
CheckCXXSourceCompiles
)
set
(
CMAKE_REQUIRED_FLAGS
"-pedantic-errors"
)
# fold expressions (a + ...)
check_cxx_source_compiles
(
"
template <class... Args>
...
...
@@ -53,3 +55,5 @@ check_cxx_source_compiles("
}
"
AMDIS_HAS_CXX_AUTO_TEMPLATE_PARAMETER
)
unset
(
CMAKE_REQUIRED_FLAGS
)
\ No newline at end of file
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