diff options
author | Peter Wu <peter@lekensteyn.nl> | 2019-01-12 12:43:18 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2019-01-12 18:20:44 +0000 |
commit | 5cc461490d817be898629562b947099a9996f198 (patch) | |
tree | 9cfaacf58b9653170006688fcb7d28b89be03451 /.gitignore | |
parent | 6d08cb2ecd51dceefb49ff65532e0ca4de4ad417 (diff) |
CMake: use object libraries to avoid redundant builds
Some source files are duplicated via add_executable. Assuming that these
are not affected by target-specific preprocessor macros, they can be
built only once and shared among executables.
In one configuration, this reduces the number of object files by 55
(cli_main.c and version_info.c alone were built 15 times each).
Removes the version dependency from each target since the 'version_info'
target can now declare this dependency. Remove CLEAN_C_FILES from extcap
since it is not used to set -Werror. Due to removing some files from
wireshark_FILES (and others), these are no longer part of checkAPIs
though. Hopefully that is acceptable.
Change-Id: I0a3f1ffb950e70a6176c96d867f694fbc6476f58
Reviewed-on: https://code.wireshark.org/review/31509
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
Petri-Dish: João Valverde <j@v6e.pt>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore index cc67c2b7d4..8b312845a3 100644 --- a/.gitignore +++ b/.gitignore @@ -36,7 +36,6 @@ epan/dissectors/dissectors.in.txt epan/dtd_parse.c epan/dtd_preparse.c epan/uat_load.c -epan/version_info.c epan/wslua/declare_wslua.h epan/wslua/register_wslua.c epan/wslua/taps.txt @@ -51,7 +50,6 @@ tshark-tap-register.c wiretap/ascend.c wiretap/ascend.h wiretap/k12text.c -wiretap/version_info.c wireshark-tap-register.c # CMake # |