forked from osmocom/wireshark
640382c743
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 | ||
Makefile.am | ||
wmem.h | ||
wmem_allocator.h | ||
wmem_allocator_block.c | ||
wmem_allocator_block.h | ||
wmem_allocator_block_fast.c | ||
wmem_allocator_block_fast.h | ||
wmem_allocator_simple.c | ||
wmem_allocator_simple.h | ||
wmem_allocator_strict.c | ||
wmem_allocator_strict.h | ||
wmem_array.c | ||
wmem_array.h | ||
wmem_core.c | ||
wmem_core.h | ||
wmem_interval_tree.c | ||
wmem_interval_tree.h | ||
wmem_list.c | ||
wmem_list.h | ||
wmem_map.c | ||
wmem_map.h | ||
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 | ||
wmem_strbuf.h | ||
wmem_strutl.c | ||
wmem_strutl.h | ||
wmem_test.c | ||
wmem_tree-int.h | ||
wmem_tree.c | ||
wmem_tree.h | ||
wmem_user_cb.c | ||
wmem_user_cb.h | ||
wmem_user_cb_int.h |