mctools / simplebuild

A very simple to use build system for projects with primarily C++/Python code, intended for usage by scientific developers without a strong SW-engineering background.
https://mctools.github.io/simplebuild/
Apache License 2.0
3 stars 1 forks source link

support anonymous projects #26

Closed tkittel closed 10 months ago

tkittel commented 11 months ago

A user project without a project.name might make sense, if is not intended to have downstream projects. We could simple automatically assign it a name "unnamed01" (and then "unnamed02" ...). Once e.g. pkgfilters support bundle/project names, we might want "main" to always indicate the main one (which is the one being edited, since [build] sections of other cfgs are always ignored).

tkittel commented 11 months ago

Any attempt at depending on such a project should of course fail with a clear error message.

tkittel commented 11 months ago

Hmm... I just tried, it seems to already work. Need to verify why, and check the corner cases. It is tied into #3 since it is nice if the autogenerated cfg file does not add a name by default.

tkittel commented 10 months ago

I think this is basically OK.