Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-core-dev] question about project naming

>>>>> "Thomas" == Thomas Fletcher <thomasf@xxxxxxx> writes:

>> Why is this restriction here?

Thomas> It is a badly located build restriction, but it stems from the
Thomas> fact that make doesn't handle spaces very well.

I thought it might be something like that.

I think this is only really a problem if your Makefile actually
contains a path with a space in it.  In many situations this won't
occur.

Also, space isn't the only objectionable character :-(.  At least tab
and `:' are as well (`:' is especially weird in a couple respects).
You may also find problems with `$' and `='.  (make is, umm, lexically
challenged.)

Rather than complaining to the user up front, though, I think it would
make sense to let them name the project whatever they like.  We don't
know a priori that they'll even be using make, or that their Makefile
will include the pwd in it.  The user can always rename the project if
he runs into trouble.

Tom


Back to the top