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

More use of CMAKE_INSTALL_<...>DIR #4738

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

dg0yt
Copy link
Contributor

@dg0yt dg0yt commented Jan 6, 2025

Description

CMAKE_INSTALL_INCLUDEDIR is already used for the exported build interface. This change applies the standard variables to more destinations, moves the related GNUInstallDirs module to the top-level CMakeLists.txt, and adds explicit RUNTIME/LIBRARY/ARCHIVE destinations. This should be beneficial for external packaging. (vcpkg needs RUNTIME DESTINATION.)

Last not least put msquic.lttng into the msquic CMake export set.

Testing

Affects packaging - not tested.

Documentation

This PR changes the install destination of the DLLs. It might deserve an announcement when released.

@dg0yt dg0yt requested a review from a team as a code owner January 6, 2025 18:26
CMAKE_INSTALL_INCLUDEDIR is already used for the exported build
interface. This change applies the standard variables to more
destinations, moves the related GNUInstallDirs include to the
top-level CMakeLists.txt, and adds explicit RUNTIME/LIBRARY/ARCHIVE
destinations. This should be beneficial for external packaging.

Last not least put msquic.lttng into the msquic CMake export set.
@nibanks nibanks added Area: Build external Proposed by non-MSFT labels Jan 6, 2025
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.61%. Comparing base (9610803) to head (91dcd66).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4738      +/-   ##
==========================================
- Coverage   85.71%   85.61%   -0.10%     
==========================================
  Files          56       56              
  Lines       17378    17378              
==========================================
- Hits        14896    14879      -17     
- Misses       2482     2499      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nibanks nibanks merged commit a4e8c6d into microsoft:main Jan 8, 2025
486 of 487 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Build external Proposed by non-MSFT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants