aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lemon
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-02-16 18:22:31 -0800
committerGuy Harris <guy@alum.mit.edu>2018-02-17 02:50:24 +0000
commit459bd4646d15c56b14f9f10d86c6f5d342174c98 (patch)
tree31e71e4c72af3abe9806026a7c3cdc0a73340e85 /tools/lemon
parent5f0d50690ae01427ae310e15989cbe3780a241ad (diff)
Don't have CLEAN_FILES variables for the "clean" source files.
Except for the one directory that (currently) has "not yet clean" files, epan/dissectors, we don't need a separate variable to keep track of the "clean" source files. In the cases where not all files were in CLEAN_FILES, put them into the variable used to enable -Werror or its equivalent. Change-Id: Ic4119861c1d9e381adfe31e9977e1ac71d623f5b Reviewed-on: https://code.wireshark.org/review/25830 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tools/lemon')
-rw-r--r--tools/lemon/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/lemon/CMakeLists.txt b/tools/lemon/CMakeLists.txt
index a598e820b6..1cfecd8711 100644
--- a/tools/lemon/CMakeLists.txt
+++ b/tools/lemon/CMakeLists.txt
@@ -23,12 +23,8 @@ set(lemon_FILES
lemon.c
)
-set(CLEAN_FILES
- ${lemon_FILES}
-)
-
set_source_files_properties(
- ${CLEAN_FILES}
+ ${lemon_FILES}
PROPERTIES
COMPILE_FLAGS "${WERROR_COMMON_FLAGS} ${NO_SANITIZE_CFLAGS}"
)