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

fix errors found by muon analyze #358

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

annacrombie
Copy link
Contributor

I found a few small errors while testing muon analyze on this project.

source_root = meson.current_source_dir().split('/')
build_root = meson.project_build_root().split('/')
source_root = meson.current_source_dir()
build_root = meson.project_build_root()
if build_machine.system() == 'windows'
source_root = source_root.replace('\\', '/')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no .replace method on list.

@Akaricchi Akaricchi merged commit 08c4723 into taisei-project:master Feb 23, 2023
@Akaricchi
Copy link
Member

Thanks. Can muon actually build this yet?

@annacrombie
Copy link
Contributor Author

Yes muon can build taisei with a small patch to add cpp as a language in the main project() invocation. This issue is likely hidden with meson since in meson there is a global dict for compilers across all subprojects, so if a subproject uses cpp then it is available in the main project.

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.

2 participants