wireshark/epan/wmem
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
..
CMakeLists.txt CMake: Allow setting per target compiler warnings 2016-08-23 21:33:09 +00:00
Makefile.am Use correct relative path. 2016-07-30 20:51:00 +00:00
wmem.h Introduces augmented interval trees 2015-11-24 23:02:09 +00:00
wmem_allocator.h Have wmem conform to checkAPIs.pl 2016-05-13 16:00:58 +00:00
wmem_allocator_block.c Have wmem conform to checkAPIs.pl 2016-05-13 16:00:58 +00:00
wmem_allocator_block.h
wmem_allocator_block_fast.c Have wmem conform to checkAPIs.pl 2016-05-13 16:00:58 +00:00
wmem_allocator_block_fast.h
wmem_allocator_simple.c Have wmem conform to checkAPIs.pl 2016-05-13 16:00:58 +00:00
wmem_allocator_simple.h
wmem_allocator_strict.c Have wmem conform to checkAPIs.pl 2016-05-13 16:00:58 +00:00
wmem_allocator_strict.h
wmem_array.c wmem: add null-terminator support. 2016-02-22 19:55:33 +00:00
wmem_array.h wmem: add null-terminator support. 2016-02-22 19:55:33 +00:00
wmem_core.c Remove checkAPI warnings from wmem. 2016-08-01 04:21:22 +00:00
wmem_core.h Document wmem null guarantee 2016-05-24 07:18:03 +00:00
wmem_interval_tree.c Remove checkAPI warnings from wmem. 2016-08-01 04:21:22 +00:00
wmem_interval_tree.h api ref (wmem_interval_tree): fix end of file while inside a group 2016-01-26 09:07:46 +00:00
wmem_list.c wmem: add foreach function to wmem_list. 2016-04-20 21:11:49 +00:00
wmem_list.h wmem: add foreach function to wmem_list. 2016-04-20 21:11:49 +00:00
wmem_map.c wmem_map.c: Address some VS Code Analysis warnings. 2016-07-16 19:46:05 +00:00
wmem_map.h wmem: add wmem_map_size(). 2016-04-22 04:34:45 +00:00
wmem_map_int.h
wmem_miscutl.c
wmem_miscutl.h
wmem_queue.h
wmem_scopes.c
wmem_scopes.h
wmem_stack.c
wmem_stack.h
wmem_strbuf.c Remove strcpy from wmem_strbuf.c 2016-05-11 03:16:43 +00:00
wmem_strbuf.h
wmem_strutl.c Have wmem conform to checkAPIs.pl 2016-05-13 16:00:58 +00:00
wmem_strutl.h
wmem_test.c ifdef out a variable used only on Windows. 2016-07-30 20:39:13 +00:00
wmem_tree-int.h Avoid colliding definitions of wmem_tree_t. 2015-11-24 23:41:22 +00:00
wmem_tree.c Remove checkAPI warnings from wmem. 2016-08-01 04:21:22 +00:00
wmem_tree.h Introduces augmented interval trees 2015-11-24 23:02:09 +00:00
wmem_user_cb.c
wmem_user_cb.h
wmem_user_cb_int.h