diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2018-09-21 23:26:56 -0700 |
---|---|---|
committer | Mathias Preiner <mathias.preiner@gmail.com> | 2018-09-22 16:30:59 -0700 |
commit | eada65a37e18bea23e3cbf584f47f72859cc69f9 (patch) | |
tree | b18a10c8291b9a25e693835d190c83614d71b450 /src | |
parent | 79263ff809ee9e5766199bbd63b79449fc8fa3d0 (diff) |
cmake: Enable -Wall.
Diffstat (limited to 'src')
-rw-r--r-- | src/parser/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser/CMakeLists.txt b/src/parser/CMakeLists.txt index 6cde56c62..d7491f8ca 100644 --- a/src/parser/CMakeLists.txt +++ b/src/parser/CMakeLists.txt @@ -82,6 +82,10 @@ foreach(lang Cvc Smt1 Smt2 Tptp) set_source_files_properties(${gen_src_files} PROPERTIES LANGUAGE CXX) set_source_files_properties(${gen_src_files} PROPERTIES GENERATED TRUE) + # We don't want to enable -Wall for code generated by ANTLR. + set_source_files_properties( + ${gen_src_files} PROPERTIES COMPILE_FLAGS -Wno-all) + # Add generated source files to the parser source files list(APPEND libcvc4parser_src_files ${gen_src_files}) endforeach() |