Skip to content

Project structure #9770

Answered by andy5995
5wattbulb asked this question in Q&A
Dec 31, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

@5wattbulb I think it depends on the type of project. If you only have a few source files, having them in root directory is probably ok. For rmw, I have them all in a separate src/ directory, but the binary is output to the build root directory.

The simple meson examples all seem to have the source code in the project root directory but I'm thinking that's just for convenience rather than a suggestion.

Yes, probably easier for examples.

To get ideas about project structure, I'd suggest having a look at https://mesonbuild.com/Users.html and see how other projects have things organized.

Replies: 1 comment 3 replies

Comment options

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

@andy5995
Comment options

@5wattbulb
Comment options

Answer selected by 5wattbulb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants