wireshark/epan/ftypes
João Valverde 640382c743 CMake: Allow setting per target compiler warnings
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>
2016-08-23 21:33:09 +00:00
..
.editorconfig Convert ftype-tvbuff.c to ftype-protocol.c 2016-05-05 19:27:55 +00:00
CMakeLists.txt CMake: Allow setting per target compiler warnings 2016-08-23 21:33:09 +00:00
Makefile.am Remove Makefile.common files 2016-06-30 11:04:17 +00:00
ftype-bytes.c Give FvalueToStringRepr a length parameter. 2016-05-10 22:49:25 +00:00
ftype-double.c Give FvalueToStringRepr a length parameter. 2016-05-10 22:49:25 +00:00
ftype-guid.c Give FvalueToStringRepr a length parameter. 2016-05-10 22:49:25 +00:00
ftype-ieee-11073-float.c Give FvalueToStringRepr a length parameter. 2016-05-10 22:49:25 +00:00
ftype-integer.c Give FvalueToStringRepr a length parameter. 2016-05-10 22:49:25 +00:00
ftype-ipv4.c Give FvalueToStringRepr a length parameter. 2016-05-10 22:49:25 +00:00
ftype-ipv6.c Fix indentation 2016-07-31 03:58:12 +00:00
ftype-none.c Convert ftype-tvbuff.c to ftype-protocol.c 2016-05-05 19:27:55 +00:00
ftype-pcre.c Give FvalueToStringRepr a length parameter. 2016-05-10 22:49:25 +00:00
ftype-protocol.c ftype-protocol: Fix [-Wcast-qual] warnings 2016-06-10 23:43:10 +00:00
ftype-string.c Give FvalueToStringRepr a length parameter. 2016-05-10 22:49:25 +00:00
ftype-time.c Give FvalueToStringRepr a length parameter. 2016-05-10 22:49:25 +00:00
ftypes-int.h Give FvalueToStringRepr a length parameter. 2016-05-10 22:49:25 +00:00
ftypes.c Give FvalueToStringRepr a length parameter. 2016-05-10 22:49:25 +00:00
ftypes.h Fix indentation 2016-07-31 03:58:12 +00:00