Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUILD] Enable old behavior of CMP0092 #3269

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

Merged
merged 4 commits into from
Feb 21, 2025

Conversation

ThomsonTan
Copy link
Contributor

Changes

Based on below doc, CMake 3.15 introduced policy CMP0092 which removes /W3 option by default for MSVC. This change restores the old behavior of CMP0092 to keep /W3 for MSVC, before we set the warning level explicitly for the project.
CMakeLists

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

@ThomsonTan ThomsonTan requested a review from a team as a code owner February 11, 2025 22:43
Copy link

netlify bot commented Feb 11, 2025

Deploy Preview for opentelemetry-cpp-api-docs canceled.

Name Link
🔨 Latest commit dbe2e80
🔍 Latest deploy log https://app.netlify.com/sites/opentelemetry-cpp-api-docs/deploys/67b8346a12e5ae0008acfa3c

Copy link

codecov bot commented Feb 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.96%. Comparing base (181f1e5) to head (dbe2e80).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3269   +/-   ##
=======================================
  Coverage   87.96%   87.96%           
=======================================
  Files         205      205           
  Lines        6407     6407           
=======================================
  Hits         5635     5635           
  Misses        772      772           

@lalitb lalitb self-assigned this Feb 19, 2025
@marcalff marcalff merged commit 4b56f63 into open-telemetry:main Feb 21, 2025
58 checks passed
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.

4 participants