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

cpputest: fixed wrap #1398

Merged
merged 11 commits into from
Feb 9, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cpputest_platform = get_option('cpputest_platform')
if cpputest_platform != 'none'
if cpputest_platform == 'autodetect'
compiler_id = meson.get_compiler('cpp').get_id()
if compiler_id == 'clang' or compiler_id == 'gcc'
if compiler_id == 'gcc' or compiler_id == 'clang' or compiler_id == 'clang-cl'
Copy link
Collaborator

Choose a reason for hiding this comment

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

should it be treated as GCC or VisualCpp?

Copy link
Contributor Author

@SteelPh0enix SteelPh0enix Feb 9, 2024

Choose a reason for hiding this comment

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

Yeah, it passes here so I'm not sure if it's just a funky compatibility layer, or intended behaviour.
I'll throw it to VisualCpp and let's see what happens

Copy link
Contributor Author

@SteelPh0enix SteelPh0enix Feb 9, 2024

Choose a reason for hiding this comment

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

After quick read, yeah, this should definitely be treated as VisualCpp

cpputest_platform = 'Gcc'
elif compiler_id == 'msvc'
cpputest_platform = 'VisualCpp'
Expand Down