diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2016-06-21 15:31:39 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-06-22 23:57:01 +0000 |
commit | 63027fce6e11e645865607cf4124eb8cfb4c3609 (patch) | |
tree | 4fe397e04757635d2b09f1fc5dbce83a82975f57 /packaging/wix | |
parent | a9a306f0a1fa09cb3f5e72f17524885cd5bf6d95 (diff) |
Windows: rename wiretap-${PROJECT_VERSION}.dll to libwiretap.dll
This aligns the name with what is done for other Wireshark shared libraries.
Moreover it allows to compile a wiretap plugin once per major release, without
the need to recompile it each time ${PROJECT_VERSION} changes (each nightly
build / official release).
Change-Id: I53c82277223a4f323079cf695168ac85c2fba523
Reviewed-on: https://code.wireshark.org/review/16058
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'packaging/wix')
-rw-r--r-- | packaging/wix/CMakeLists.txt | 3 | ||||
-rw-r--r-- | packaging/wix/ComponentGroups.wxi | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/packaging/wix/CMakeLists.txt b/packaging/wix/CMakeLists.txt index 1f8281e20c..ed9f035a9c 100644 --- a/packaging/wix/CMakeLists.txt +++ b/packaging/wix/CMakeLists.txt @@ -93,8 +93,6 @@ string(REPLACE "_" "." PCAP_DISPLAY_VERSION "${WINPCAP_PACKAGE_VERSION}") set(USBPCAP_DISPLAY_VERSION "1.1.0.0-g794bf26-3") set(PRODUCT_VERSION ${PROJECT_MAJOR_VERSION}.${PROJECT_MINOR_VERSION}.${PROJECT_PATCH_VERSION}.${PROJECT_BUILD_VERSION}) -# XXX Shouldn't this reflect the API / ABI version? -set(WTAP_VERSION ${PROJECT_VERSION}) # To do: # - Sync the various version names between CMake and Wix. @@ -300,7 +298,6 @@ set(WIX_CANDLE_DEFINES -dPlatform=${TARGET_MACHINE} -dWiresharkName=${CMAKE_PROJECT_NAME} -dWiresharkVersion=${PRODUCT_VERSION} - -dWiretapVersion=${WTAP_VERSION} -dAssetDir=${CMAKE_SOURCE_DIR}/packaging/wix -dBuildOutputDir=${EXECUTABLE_OUTPUT_PATH}/${CMAKE_BUILD_TYPE} -dVCRedistVersion=${MSVC_CRT_VERSION} diff --git a/packaging/wix/ComponentGroups.wxi b/packaging/wix/ComponentGroups.wxi index 0013a62c3e..db057e2efc 100644 --- a/packaging/wix/ComponentGroups.wxi +++ b/packaging/wix/ComponentGroups.wxi @@ -19,7 +19,7 @@ <Fragment> <DirectoryRef Id="INSTALLFOLDER"> <Component Id="cmpWiretap_dll" Guid="*"> - <File Id="filWiretap_dll" KeyPath="yes" Source="$(var.Staging.Dir)\wiretap-$(var.WiretapVersion).dll" /> + <File Id="filWiretap_dll" KeyPath="yes" Source="$(var.Staging.Dir)\libwiretap.dll" /> </Component> <?ifdef ENABLE_LIBWIRESHARK?> <Component Id="cmpLibwireshark_dll" Guid="*"> |