[prev in list] [next in list] [prev in thread] [next in thread]
List: wireshark-dev
Subject: [Wireshark-dev] Change LIB and Executable names using CMake?
From: Alex Lindberg <alindber () yahoo ! com>
Date: 2016-01-15 14:36:12
Message-ID: 167374273.4476787.1452868572369.JavaMail.yahoo () mail ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I am using CMake to build a customized version of Wireshark that needs to b=
e installed beside the default Wireshark libraries and run-time files.
To do this with previous version of Wireshark (<2) I created a SED script t=
o do global search and replace functions to change file names, etc. The res=
ult of this script, that after a build, custom named libraries, directories=
and executable files where created. This approach worked (With a lot of ha=
nd 'fixes') but did not allow for easy migration to newer code bases.
So now I am trying to do it the 'smart way' (if there is one) by migrating =
to CMake (using Jetbrains' Clion) for the build environment.=C2=A0 The defa=
ult build works just fine (Based on Debian's testing version of WS).
Any ideas on how to proceed?=C2=A0 I can imagine that my request will meet =
some resistance.
As always, thank you for your help.
Alex Lindbergalindber@yahoo.com
[Attachment #5 (text/html)]
<html><head></head><body><div style="color:#000; background-color:#fff; \
font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:13px"><div \
class="" id="yiv6497615082yui_3_16_0_1_1452725259427_2698">I am using CMake to build \
a customized version of Wireshark that needs to be installed beside the default \
Wireshark libraries and run-time files.</div><div class="" \
id="yiv6497615082yui_3_16_0_1_1452725259427_2697"><br class="" \
id="yui_3_16_0_1_1452867984033_11780"></div><div class="" dir="ltr" \
id="yiv6497615082yui_3_16_0_1_1452725259427_2639">To do this with previous version \
of Wireshark (<2) I created a SED script to do global search and replace \
functions to change file names, etc. The result of this script, that after a build, \
custom named libraries, directories and executable files where created. This \
approach worked (With a lot of hand 'fixes') but did not allow for easy migration to \
newer code bases.</div><div class="" \
id="yiv6497615082yui_3_16_0_1_1452725259427_2668" dir="ltr"><br class="" \
id="yui_3_16_0_1_1452867984033_11784"></div><div class="" \
id="yiv6497615082yui_3_16_0_1_1452725259427_2699" dir="ltr">So now I am trying to do \
it the 'smart way' (if there is one) by migrating to CMake (using Jetbrains' Clion) \
for the build environment. The default build works just fine (Based on \
Debian's testing version of WS).</div><div class="" \
id="yiv6497615082yui_3_16_0_1_1452725259427_2757" dir="ltr"><br class="" \
id="yui_3_16_0_1_1452867984033_11788"></div><div class="" \
id="yiv6497615082yui_3_16_0_1_1452725259427_2756" dir="ltr">Any ideas on how to \
proceed? I can imagine that my request will meet some resistance.</div><div \
class="" id="yiv6497615082yui_3_16_0_1_1452725259427_2906" dir="ltr"><br class="" \
id="yui_3_16_0_1_1452867984033_11792"></div><div class="" \
id="yiv6497615082yui_3_16_0_1_1452725259427_2907" dir="ltr">As always, thank you for \
your help.</div><div class="" id="yiv6497615082yui_3_16_0_1_1452725259427_2908" \
dir="ltr"><br class="" id="yui_3_16_0_1_1452867984033_11796"></div><div class="" \
id="yiv6497615082yui_3_16_0_1_1452725259427_2909" dir="ltr">Alex Lindberg</div><div \
id="yui_3_16_0_1_1452867984033_11888" \
dir="ltr">alindber@yahoo.com</div></div></body></html>
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives: https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic