Would cmake cause issues for RStan?

Hey @bgoodri @jonah,

@alashworth has been working on a monorepo of CmdStan+Stan+Math and switching their build systems to cmake. Will the cmake part of that cause issues for RStan? I seem to remember RStan doesn’t actually use any of the Stan Makefiles, right? And I know cmake can generate makefiles, though I’m not sure if it does that in a platform-independent way.

Thanks,
Sean

I think cmake would be fine for Stan. RStan has a Makefile.win for Windows and another Makefile for everything else that we have to tweak by hand anyway.

Can cmake handle path with spaces?

Yes, it can do that transparently.

2 Likes