Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2022 22:00:56 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   cmake cxx standard and USES compiler:c++{17,14,11}-lang
Message-ID:  <CAFDf7UJ-cXVtGjLE6=GyJbjRxb6yaKghoPXy_ED7cDFkUd3=%2Bw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000c774a305e50c10d1
Content-Type: text/plain; charset="UTF-8"

Hello,

I'm working on a port that have wrksrc CMakeLists.txt:
---
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
---
but port Makefile have:
---
USES= cmake compiler:c++14-lang
---

Should I change it to compiler:c++17-lang?
Do USES= compiler have any influence on cmake building?

Thanks in advance,

Nuno Teixeira

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

<div dir=3D"ltr"><div>Hello,</div><div><br></div><div>I&#39;m working on a =
port that have wrksrc CMakeLists.txt:<br></div><div>---<br></div><div>set(C=
MAKE_CXX_STANDARD 17)<br>set(CMAKE_CXX_STANDARD_REQUIRED ON)<br>---</div><d=
iv>but port Makefile have:</div><div>---</div><div>USES=3D cmake compiler:c=
++14-lang<br></div><div>---</div><div><br></div><div>Should I change it to =
compiler:c++17-lang?</div><div>Do USES=3D compiler have any influence on cm=
ake building?</div><div><br></div><div>Thanks in advance,</div><div><br></d=
iv><div>Nuno Teixeira<br></div></div>

--000000000000c774a305e50c10d1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJ-cXVtGjLE6=GyJbjRxb6yaKghoPXy_ED7cDFkUd3=%2Bw>