Hi Felix, Thanks for your explanation.
Cheers Felix Palmen <fe...@palmen-it.de> escreveu no dia domingo, 31/07/2022 à(s) 08:18: > Hello Nuno, > > * Nuno Teixeira <edua...@freebsd.org> [20220730 22:00]: > > 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? > > Most likely yes. > > > Do USES= compiler have any influence on cmake building? > > Currently not in practice. It will just pull in a compiler from ports > *if* the base compiler doesn't offer the standard required, but as far > as I know, a base compiler supporting c++14 will also support c++17 (and > after EOL of 12, there won't be any base compilers left not supporting > these standards). > > I have a review open trying to add c++20 and c++2b *and* to honor > LLVM_DEFAULT in case it will pull in llvm here: > <https://reviews.freebsd.org/D35889> > > BR, Felix > > -- > Dipl.-Inform. Felix Palmen <fe...@palmen-it.de> ,.//.......... > {web} http://palmen-it.de {jabber} [see email] ,//palmen-it.de > {pgp public key} http://palmen-it.de/pub.txt // """"""""""" > {pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A >