Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meson: fixes using vibe.d as subproject #2586

Merged
merged 2 commits into from
Aug 13, 2021
Merged

Conversation

denizzzka
Copy link
Contributor

Fixes error of using vibe.d as subproject:

subprojects/vibe.d-0.9.3/meson.build:37:4: ERROR: Function 'add_global_arguments' cannot be used in subprojects because there is no way to make that reliable.
Please only call this if is_subproject() returns false. Alternatively, define a variable that
contains your language-specific arguments and add it to the appropriate *_args kwarg in each target.

@denizzzka denizzzka changed the title Fix of using vibe.d as subproject Meson: fixes using vibe.d as subproject Aug 5, 2021
@s-ludwig
Copy link
Member

s-ludwig commented Aug 5, 2021

I can't really review this properly due to lack of Meson experience, but I guess that this also needs these two to be merged in some form:

@denizzzka
Copy link
Contributor Author

denizzzka commented Aug 6, 2021

@s-ludwig both of these is needed, and this PR too

We can add Meson builds into CI but at first it is need to fix/add meson.build files into all needed repositories

@s-ludwig
Copy link
Member

s-ludwig commented Aug 6, 2021

Okay. I mean, nothing can break, so I can just as well merge them in their current state.

@denizzzka
Copy link
Contributor Author

nothing can break

...because it is already broken at least 3 years :-)

@Geod24 Geod24 merged commit 35b097c into vibe-d:master Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants