3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00
z3/cmake
Dan Liew 6e2ca69654 [CMake] Change the WARNINGS_AS_ERRORS option from BOOL to STRING
to allow a new mode `SERIOUS_ONLY`.

Modes:

`ON` - All warnings are treated as errors (same as before)
`OFF` - Warnings are not treated as errors (same as before)
`SERIOUS_ONLY` - A subset of "serious" warnings are treated as errors.

Upgrade code is included to upgrade old CMake cache's to use the new
type of `WARNINGS_AS_ERRORS`. We should remove it eventually. The
user's previous setting is preserved when doing this.

Very few warnings are treated as errors for now. Developers can
add more later as they see fit.
2017-07-09 14:34:30 +01:00
..
modules [CMake] Move CMake files into their intended location so the 2017-06-12 11:59:00 +01:00
cmake_uninstall.cmake.in [CMake] Move CMake files into their intended location so the 2017-06-12 11:59:00 +01:00
compiler_lto.cmake [CMake] Move CMake files into their intended location so the 2017-06-12 11:59:00 +01:00
compiler_warnings.cmake [CMake] Change the WARNINGS_AS_ERRORS option from BOOL to STRING 2017-07-09 14:34:30 +01:00
cxx_compiler_flags_overrides.cmake [CMake] Move CMake files into their intended location so the 2017-06-12 11:59:00 +01:00
git_utils.cmake [CMake] Fix detection of git description and hash for CMake 2.8.12 2017-06-24 15:15:27 +01:00
msvc_legacy_quirks.cmake [CMake] Move CMake files into their intended location so the 2017-06-12 11:59:00 +01:00
target_arch_detect.cmake [CMake] Move CMake files into their intended location so the 2017-06-12 11:59:00 +01:00
target_arch_detect.cpp [CMake] Move CMake files into their intended location so the 2017-06-12 11:59:00 +01:00
z3_add_component.cmake [CMake] Fix dependencies for generating mem_initializer.cpp. 2017-06-21 23:56:53 +01:00
z3_add_cxx_flag.cmake [CMake] Change the WARNINGS_AS_ERRORS option from BOOL to STRING 2017-07-09 14:34:30 +01:00
z3_append_linker_flag_list_to_target.cmake [CMake] Move CMake files into their intended location so the 2017-06-12 11:59:00 +01:00
Z3Config.cmake.in [CMake] Move CMake files into their intended location so the 2017-06-12 11:59:00 +01:00