On 10 May 2023 at 13:45, Reed A. Cartwright wrote:
| I use the following logic in my configure script to detect cmake on the MacOS
| builders:
| 
| https://github.com/reedacartwright/rbedrock/blob/master/configure#L39-L49

Nice. That was entirely undocumented.  What a dance.  It should help.
 
| I can't remember which package I borrowed this logic from. But it would be 
nice
| if "Writing R Extensions" would expand their cmake section to cover scenarios
| like this one.

Yep.
 
| While I would love to have something like CMake be better integrated into 
CRAN,
| I've been using Meson (https://mesonbuild.com/) for a while and like it better
| than CMake.

"The thing about 15 standards is ..." paraphrasing xkcd. Use of cmake often
comes with a library these days so your or my preference is sadly mostly
irrelevant in the matter :-/

Thanks for the snippet though. I shall try that. Adding it to WRE would
indeed be a good idea.

Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to