On Sun, Jun 21, 2020 at 9:04 AM Allen Wittenauer <a...@effectivemachines.com.invalid> wrote:
> > > > On Jun 20, 2020, at 11:45 PM, Bharath Vissapragada <bhara...@apache.org> > wrote: > > > > Ah thanks, let me try this. Also, I think it is a pretty common use case > to > > pass custom args to the cmake command. Probably worth doing a > > CMAKE_COMMAND_ARGS (or some such) environment variable that users can > > override? > > > I'll be honest: I've never had to supply custom args to any of the cmake > projects I've used on a regular basis. I've always understood that one of > the key points of cmake is to be as 'hassle free' as possible. Requiring > build arguments seems counter to that. > Well the defaults work fine out of the box but in our case we can do a bunch of overrides using the args (dependency versions for example) which is what I'm trying out. > > That said, making an env var to supply arguments to the build tool would > need to be in an array to avoid the IFS problems.