forked from osmocom/wireshark
![]() Setting our compiler warning flags in CMAKE_C_FLAGS does not allow using different flags per target. Allow for that possibility by setting the internal WS_WARNINGS_{C,CXX}_FLAGS and using the COMPILE_OPTIONS property to set them. This change is just setting mechanism and there should be no difference in generated warnings. The check_X_compiler_flag cmake test is changed to test each flag individually. We need a list, not a space separated string, and the aggregate test is not significant. Change-Id: I59fc5cd7e130c7a5e001c598e3df3e13f83a6a25 Reviewed-on: https://code.wireshark.org/review/17150 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CMakeListsCustom.txt.example | ||
Custom.common | ||
Makefile.am | ||
airpdcap.c | ||
airpdcap_ccmp.c | ||
airpdcap_debug.h | ||
airpdcap_int.h | ||
airpdcap_interop.h | ||
airpdcap_rijndael.c | ||
airpdcap_rijndael.h | ||
airpdcap_system.h | ||
airpdcap_tkip.c | ||
airpdcap_user.h | ||
airpdcap_ws.h | ||
kasumi.h | ||
wep-wpadefs.h |