From 4de0ea38cdb46f925fe7b0d8a7a4096442b501f9 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Sat, 12 Jan 2019 16:33:39 +0100 Subject: CMake: change static qtui library into an object library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Save 800ms and avoids a synchronization point (improves build parallelism) by directly adding object files to the wireshark binary. Change-Id: I7d1484c65a26f3f6874474b61d38ba474aba8347 Reviewed-on: https://code.wireshark.org/review/31512 Petri-Dish: Peter Wu Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde Reviewed-by: Peter Wu --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 912a47562d..95dac86105 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2134,6 +2134,7 @@ if(BUILD_wireshark AND QT_FOUND) ) set(wireshark_FILES $ + $ $ $ ${WIRESHARK_SRC} @@ -2215,7 +2216,6 @@ endif() if(BUILD_wireshark AND QT_FOUND) set(wireshark_LIBS - qtui ui capchild caputils @@ -2232,6 +2232,7 @@ if(BUILD_wireshark AND QT_FOUND) ${NL_LIBRARIES} ${WIN_VERSION_LIBRARY} ${WINSPARKLE_LIBRARIES} + $<$:UxTheme.lib> ) add_executable(wireshark WIN32 MACOSX_BUNDLE ${wireshark_FILES} ${EXTRA_BUNDLE_FILES}) -- cgit v1.2.3