Skip to content

Seeking Recommendations: monorepo that is distributed as individual projects #9929

Discussion options

You must be logged in to vote

Thinking about folders, I'm also wondering if I can structure my build rules in a way that gets me what I want re: context-awareness.

A project's top-level meson.build file can contain the project() and standalone infrastructure. Then I could have a folder, maybe build/, which contains a meson.build file that describes targets. The top-level project will include build/meson.build, and the project's local meson.build will too.

The gotcha, of course, is that you can't do this if you need to call subdir() because you'd need a .. in the path (e.g., if you want to go into ../src and ../test)

Replies: 6 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@ilg-ul
Comment options

@phillipjohnston
Comment options

@phillipjohnston
Comment options

Comment options

You must be logged in to vote
2 replies
@phillipjohnston
Comment options

@phillipjohnston
Comment options

Answer selected by phillipjohnston
Comment options

You must be logged in to vote
1 reply
@phillipjohnston
Comment options

Comment options

You must be logged in to vote
5 replies
@phillipjohnston
Comment options

@phillipjohnston
Comment options

@jpakkane
Comment options

@phillipjohnston
Comment options

@phillipjohnston
Comment options

Comment options

You must be logged in to vote
2 replies
@phillipjohnston
Comment options

@ilg-ul
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants