How to create different distribution packages for different projects #11612
Unanswered
johnsonlien
asked this question in
Q&A
Replies: 1 comment
-
If you turn each programs into their own subproject, you can then "meson dist" them separately even when there are in the same git repo. That means you need to structure your tree like: subprojects/a_dir, subprojects/b_dir, etc, and the meson.build at the root would do subproject('a_dir')
subproject('b_dir') |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Background
I have a monolithic repo that multiple programs use and update. We defined all dependencies, libraries, and executables in multiple subdirectories of the project. Each distribution follows a similar structure
Current solution to create release
To create a program's specific distribution package, the different teams wrote a bash script to, for each needed component, they run the following steps:
Question
Rather than use a script create our distribution package, is there a way to utilize meson to do it instead? I'm trying to make adding future program distributions easier to create since the person writing the script can mistakenly miss setting a required meson option (or turn on an option that isn't needed) and hopefully utilize the current
build
directory so we don't have to always rebuild for each component.Beta Was this translation helpful? Give feedback.
All reactions