Return-Path: <tiff-bounces@lists.osgeo.org>
Received: from mailgate230.isp.belgacom.be ([195.238.22.95])
          by mailfep015.skynet.be
          (InterMail vM.8.04.03.28.4 201-2389-100-182-103-20180124)
          with ESMTP
          id <20201222164502.FEFI7485.mailfep015.skynet.be@mailgate230.isp.belgacom.be>
          for <chris.lindelaan@skynet.be>; Tue, 22 Dec 2020 17:45:02 +0100
Authentication-Results: mx201.skynet.be; dkim=none (message not signed) header.i=none; spf=None smtp.pra=tiff-bounces@lists.osgeo.org; spf=Pass smtp.mailfrom=tiff-bounces@lists.osgeo.org; spf=Pass smtp.helo=postmaster@lists.osgeo.org
Received-SPF: None (mx201.skynet.be: no sender authenticity
  information available from domain of
  tiff-bounces@lists.osgeo.org) identity=pra;
  client-ip=140.211.15.3; receiver=mx201.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="tiff-bounces@lists.osgeo.org";
  x-conformance=sidf_compatible
Received-SPF: Pass (mx201.skynet.be: domain of
  tiff-bounces@lists.osgeo.org designates 140.211.15.3 as
  permitted sender) identity=mailfrom; client-ip=140.211.15.3;
  receiver=mx201.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="tiff-bounces@lists.osgeo.org";
  x-conformance=sidf_compatible; x-record-type="v=spf1";
  x-record-text="v=spf1 mx a:mail.osgeo.org a:lists.osgeo.org
  a:mail.osgeo.osuosl.org a:tracsvn.osgeo.osuosl.org -all"
Received-SPF: Pass (mx201.skynet.be: domain of
  postmaster@lists.osgeo.org designates 140.211.15.3 as
  permitted sender) identity=helo; client-ip=140.211.15.3;
  receiver=mx201.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="postmaster@lists.osgeo.org";
  x-conformance=sidf_compatible; x-record-type="v=spf1";
  x-record-text="v=spf1 mx a:mail.osgeo.org a:lists.osgeo.org
  a:mail.osgeo.osuosl.org a:tracsvn.osgeo.osuosl.org -all"
X-Ironport-Dmarc-Check-Result: validskip
IronPort-SDR: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RHH3He81oB4H6RBBIDu9Z+QoSz4+?=
 =?us-ascii?q?YKk4GJzf+1c39L6Le2tYMECtLRKd6bPXZpKhfvFDPOTUMEQTOtKWDDlhldnf?=
 =?us-ascii?q?WVpTWeqpk3rISpmYJbE+MDEgZsT7VDVwI+T7lgaN9tUzgpkKCWlpsN9SDm9V?=
 =?us-ascii?q?/KR9Rcs4yBXP/BZJenYDufk7RAYAMFhL3iKoFGfJH61UInYF5nmo/HAGLUXM?=
 =?us-ascii?q?tRuWtmdQA5pwNK6nc0HQhRkwr1Lxig5nMeD6v+hhktlg53evgg7h/o4kwrPR?=
 =?us-ascii?q?zNvyQ9lw82g9qv0lXzOHbhaay3W49RES/9sUM8Z4j6TwhCZgq3hUV4NT3ASu?=
 =?us-ascii?q?EZn/56eGtskgOZpYpXFKsWU/hfeBFJj6LyBb1gwRFGpy6g30MC+ebVFc4oil?=
 =?us-ascii?q?4xaZD153dQkwsxadc0IerXP6VEyR5XnK3Gt32s1/st20kZPEkA9yWVYiFt2g?=
 =?us-ascii?q?RAP+sjLiusuOt35gGF3TxYZW8XU7wtuP0i/xEhIe2L1DzmlblYJU22ceuEMq?=
 =?us-ascii?q?SCvy7Hj8HAB1o00glRyht1uINu2MJmSHK6EkAiyLzISEYNNNHeMkdSdMVf8z?=
 =?us-ascii?q?7UZync6Lyck6IwBJ20E6XTdcHLsa8Vhky+GwNwQNYI798dBd+ry07VKoHgNr?=
 =?us-ascii?q?FXkExxtjSuH02MCbFyQDzOiC0O+p7tyJ5swZIbISoSDGI7Nj+4tO7a?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0FhAQCYIeJfhwMP04xigQmDchgBZFg?=
 =?us-ascii?q?BHwMHNoRBiQSIJJpagU4ZAQECAQEBAQEJGAEKDAQBAQEBhj4fBgEENBMCAwE?=
 =?us-ascii?q?BAQMCBQEBAQQBAQECAQECAwICAQECEAEBAQENCwkIKSwGWgZgBGIGWwRegQ4?=
 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iYREgzD6JVaMfK+HvcG3l12IVui4h3zobD5jPq5zgBu1V2fmNY?=
 =?us-ascii?q?2hx2/UIWZySTANOmSHrY8bp4GgrwxaTUm+V1o=3D?=
Received: from osgeo6.osgeo.osuosl.org (HELO lists.osgeo.org) ([140.211.15.3])
  by mx201.skynet.be with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 22 Dec 2020 17:44:59 +0100
Received: from osgeo6.osgeo.osuosl.org (localhost [127.0.0.1])
	by lists.osgeo.org (Postfix) with ESMTP id 2267C6143A65;
	Tue, 22 Dec 2020 08:44:54 -0800 (PST)
Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com
 [209.85.214.179])
 by lists.osgeo.org (Postfix) with ESMTPS id DF7476143EAB
 for <tiff@lists.osgeo.org>; Tue, 22 Dec 2020 08:44:52 -0800 (PST)
Received: by mail-pl1-f179.google.com with SMTP id x18so7710675pln.6
 for <tiff@lists.osgeo.org>; Tue, 22 Dec 2020 08:44:52 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=wRzTte6Rpga4Jq+nSvRDT2KfLIbqPoLFV8EZ2HzdN/U=;
 b=B47loHP00aDvBuISPb5POKnIiemgEBxGpQcN1uwCcQ0EI73fUWqBFr5C0ftltjkGej
 R7fIcb+QQkrcCM5xFcIayVIyayLwUBZ0Q1hwY3VTaONZSScsvExJsTV4OSHCPu1uQQq4
 UeB4UA9Dsi5gxMS9I4rJXvZlA2e94b2Qtwc1NPxLzpzLDgLXtlUDFzGxwYkprKi22qWG
 uporGsJH8HpNOuO9cEjbc5J9aVKf1C2aXGE/Z1HRHAYWkqi6/Ne/24h/IKSDsaZOCzY1
 S0gv2ntB4ksCpN8k4fb5bwSyhmAt1zrpOkE1v1Bo684mfqQDZVHt8KGqdnuA4nc8btAJ
 dnwg==
X-Gm-Message-State: AOAM530djSPJRfZ9MhGpqTqS5ARRQ0uHDWQWBjSJcgIg5KN2bHh639IS
 HKWP4vBQIRHkgzvC9rUj/2KNSqHsIuMFBz5IsFnPmceluYGWMyTA
X-Google-Smtp-Source: ABdhPJxHez4YUYKe0FlaBNIHQynhmKD+nIwLpfgkD6A7UUN1qWohINgtuRUCIGwJppRPcY/s8dZ1OBbbgB5B25Oqmi0=
X-Received: by 2002:a17:90b:a47:: with SMTP id
 gw7mr22795693pjb.1.1608655492438; 
 Tue, 22 Dec 2020 08:44:52 -0800 (PST)
MIME-Version: 1.0
References: <!&!AAAAAAAAAAAYAAAAAAAAAGDYSmKIm/dOkx5/FTTl6NSCgAAAEAAAAJ2Nvz1bI91BvVNgd6f1qqwBAAAAAA==@sapo.pt>
In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAGDYSmKIm/dOkx5/FTTl6NSCgAAAEAAAAJ2Nvz1bI91BvVNgd6f1qqwBAAAAAA==@sapo.pt>
Date: Tue, 22 Dec 2020 11:44:41 -0500
Message-ID: <CAEZ8u0neFgXKNrUZLkwodViO_U-1c56kydXYUMGXuFPkJxjy2w@mail.gmail.com>
To: miguel medalha <medalist@sapo.pt>
Cc: tiff@lists.osgeo.org
Subject: Re: [Tiff] Naming of the 'libtiff' libraries in Windows - proposal
X-BeenThere: tiff@lists.osgeo.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.osgeo.org>
List-Unsubscribe: <https://lists.osgeo.org/mailman/options/tiff>,
 <mailto:tiff-request@lists.osgeo.org?subject=unsubscribe>
List-Post: <mailto:tiff@lists.osgeo.org>
List-Help: <mailto:tiff-request@lists.osgeo.org?subject=help>
List-Subscribe: <https://lists.osgeo.org/mailman/listinfo/tiff>,
 <mailto:tiff-request@lists.osgeo.org?subject=subscribe>
From: Edward Lam via Tiff <tiff@lists.osgeo.org>
Reply-To: Edward Lam <edward@sidefx.com>
Content-Type: multipart/mixed; boundary="===============3296466778251071769=="
Errors-To: tiff-bounces@lists.osgeo.org
Sender: "Tiff" <tiff-bounces@lists.osgeo.org>

--===============3296466778251071769==
Content-Type: multipart/alternative; boundary="00000000000031700b05b7104b29"

--00000000000031700b05b7104b29
Content-Type: text/plain; charset="UTF-8"

FWIW, For the better part of the past 20 years, we've used the following
convention on Windows for libtiff:
- tiff.{lib,dll}  - release {import,shared} library
- tiff_d.{lib,dll,pdb}  - debug {import,shared,symbols} library
- libtiff.lib - release static library
- libtiff_d.lib - debug static library

-Edward


On Tue, Dec 22, 2020 at 8:59 AM miguel medalha <medalist@sapo.pt> wrote:

> With cmake, when building under Linux, the TIFF library is named libtiff.
> When under Windows, it gets named tiff only.
>
> To accommodate for the difference in naming behavior between platforms, I
> propose the inclusion of the following lines in the 'CMakeLists.txt' file
> inside the 'libtiff' directory:
>
>
> if(MSVC)
> set(CMAKE_SHARED_LIBRARY_PREFIX "lib")
> set(CMAKE_IMPORT_LIBRARY_PREFIX "lib")
> set(CMAKE_STATIC_LIBRARY_PREFIX "lib")
> set(CMAKE_STATIC_LIBRARY_SUFFIX "-static.lib")
> endif(MSVC)
>
>
> I tested this and it works as expected. Under Windows, the following
> library
> filenames are then produced:
>
> libtiff.dll
> libtiff.exp
> libtiff.lib
> libtiffxx.dll
> libtiff-static.lib (if built with 'cmake -DBUILD_SHARED_LIBS:BOOL=OFF')
>
> Thank you!
>
> _______________________________________________
> Tiff mailing list
> Tiff@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/tiff
>

--00000000000031700b05b7104b29
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">FWIW, For the better part of the past 20 years, we&#39;ve =
used the following convention on Windows for libtiff:<div>- tiff.{lib,dll}=
=C2=A0 - release {import,shared} library</div><div>- tiff_d.{lib,dll,pdb}=
=C2=A0 - debug {import,shared,symbols} library<br></div><div>- libtiff.lib =
- release static library</div><div>- libtiff_d.lib - debug static=C2=A0libr=
ary</div><div><br></div><div>-Edward</div><div><br></div></div><br><div cla=
ss=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Dec 22, 20=
20 at 8:59 AM miguel medalha &lt;<a href=3D"mailto:medalist@sapo.pt">medali=
st@sapo.pt</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">With cmake, when building under Linux, the TIFF library is named=
 libtiff.<br>
When under Windows, it gets named tiff only.<br>
<br>
To accommodate for the difference in naming behavior between platforms, I<b=
r>
propose the inclusion of the following lines in the &#39;CMakeLists.txt&#39=
; file<br>
inside the &#39;libtiff&#39; directory:<br>
<br>
<br>
if(MSVC)<br>
set(CMAKE_SHARED_LIBRARY_PREFIX &quot;lib&quot;)<br>
set(CMAKE_IMPORT_LIBRARY_PREFIX &quot;lib&quot;)<br>
set(CMAKE_STATIC_LIBRARY_PREFIX &quot;lib&quot;)<br>
set(CMAKE_STATIC_LIBRARY_SUFFIX &quot;-static.lib&quot;)<br>
endif(MSVC)<br>
<br>
<br>
I tested this and it works as expected. Under Windows, the following librar=
y<br>
filenames are then produced:<br>
<br>
libtiff.dll<br>
libtiff.exp<br>
libtiff.lib<br>
libtiffxx.dll<br>
libtiff-static.lib (if built with &#39;cmake -DBUILD_SHARED_LIBS:BOOL=3DOFF=
&#39;)<br>
<br>
Thank you!<br>
<br>
_______________________________________________<br>
Tiff mailing list<br>
<a href=3D"mailto:Tiff@lists.osgeo.org" target=3D"_blank">Tiff@lists.osgeo.=
org</a><br>
<a href=3D"https://lists.osgeo.org/mailman/listinfo/tiff" rel=3D"noreferrer=
" target=3D"_blank">https://lists.osgeo.org/mailman/listinfo/tiff</a><br>
</blockquote></div>

--00000000000031700b05b7104b29--

--===============3296466778251071769==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list
Tiff@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/tiff

--===============3296466778251071769==--
