osquery-1/cmake
Stefano Bonicatti 0654c20501
CMake: Fix and cleanup compile flags (#6521)
Add a description to the function preparing the targets carrying the
main compiler and linker flags.

Convert CMake default flags to the ones we use, instead of overriding
them later via targets.
This can also avoid having us use the wrong CRT on Windows if we forget to link
against osquery_cxx_settings.

Reduce the "overriding <flagX> with <flagY>" messages on Windows by
removing the warning level from the default flags, and adding that
to the specific osquery_<c|cxx>_settings target, so that non internal
targets can choose their own level.

Minor cleanups

Fix osquery/osquery#6509
2020-06-24 21:54:47 -04:00
..
modules Integrate cppcheck and clang-tidy within the CMake project (#5730) 2019-10-08 18:17:11 +02:00
wix_patches Fix MSI Service Error handling 2019-09-19 12:32:35 -04:00
CPackConfig.cmake.in cpack: Add RPM and DEB postinstall script (#6097) 2019-12-11 15:44:44 -05:00
flags.cmake CMake: Fix and cleanup compile flags (#6521) 2020-06-24 21:54:47 -04:00
globals.cmake Drop the facebook and source_migration layers (#6473) 2020-06-01 09:58:56 -04:00
options.cmake Drop the facebook and source_migration layers (#6473) 2020-06-01 09:58:56 -04:00
packaging.cmake Fix rpm and deb package name format (#6468) 2020-05-28 12:06:21 -04:00
toolchain.cmake toolchain: Add CMake options for linking (#6112) 2020-01-16 23:09:35 -05:00
utilities.cmake Fix format folder exclusion and format check self test (#6201) 2020-01-27 14:21:38 -08:00