Skip to content

Delegate build environment configuration with QUIC_EXTERNAL_TOOLCHAIN#4625

Merged
nibanks merged 1 commit intomicrosoft:mainfrom
redbaron:gamecore-cmake
Oct 25, 2024
Merged

Delegate build environment configuration with QUIC_EXTERNAL_TOOLCHAIN#4625
nibanks merged 1 commit intomicrosoft:mainfrom
redbaron:gamecore-cmake

Conversation

@redbaron
Copy link
Copy Markdown
Contributor

Well managed CMake build environments make use of CMAKE_TOOLCHAIN_FILE to configure build environment such as include/lib search paths, system libraries, build flags, etc.

This change introduces QUIC_EXTERNAL_TOOLCHAIN build option, which when enabled stops MSQuic CMake scripts from attempting to do CMake toolchain job.

QUIC_EXTERNAL_TOOLCHAIN defaults to OFF to preserve original behaviour.

@redbaron redbaron requested a review from a team as a code owner October 23, 2024 13:36
@nibanks nibanks added Area: Build external Proposed by non-MSFT labels Oct 24, 2024
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.69%. Comparing base (f2bbbc1) to head (221db9c).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4625      +/-   ##
==========================================
- Coverage   86.93%   86.69%   -0.25%     
==========================================
  Files          56       56              
  Lines       17354    17354              
==========================================
- Hits        15087    15045      -42     
- Misses       2267     2309      +42     

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

Well managed CMake build environments make use of CMAKE_TOOLCHAIN_FILE
to configure build environment such as include/lib search paths,
system libraries, build flags, etc.

This change introduces QUIC_EXTERNAL_TOOLCHAIN build option, which
when enabled stops MSQuic CMake scripts from attempting to
do CMake toolchain job.

QUIC_EXTERNAL_TOOLCHAIN defaults to OFF to preserve original behaviour.
@nibanks nibanks merged commit ae542fa into microsoft:main Oct 25, 2024
@redbaron redbaron deleted the gamecore-cmake branch October 25, 2024 13:02
nibanks pushed a commit that referenced this pull request Dec 4, 2024
…#4625)

Well managed CMake build environments make use of CMAKE_TOOLCHAIN_FILE
to configure build environment such as include/lib search paths,
system libraries, build flags, etc.

This change introduces QUIC_EXTERNAL_TOOLCHAIN build option, which
when enabled stops MSQuic CMake scripts from attempting to
do CMake toolchain job.

QUIC_EXTERNAL_TOOLCHAIN defaults to OFF to preserve original behaviour.
@nibanks nibanks mentioned this pull request Dec 4, 2024
talregev pushed a commit to talregev/msquic that referenced this pull request Dec 4, 2024
…microsoft#4625)

Well managed CMake build environments make use of CMAKE_TOOLCHAIN_FILE
to configure build environment such as include/lib search paths,
system libraries, build flags, etc.

This change introduces QUIC_EXTERNAL_TOOLCHAIN build option, which
when enabled stops MSQuic CMake scripts from attempting to
do CMake toolchain job.

QUIC_EXTERNAL_TOOLCHAIN defaults to OFF to preserve original behaviour.
nibanks pushed a commit that referenced this pull request Dec 5, 2024
* Change public headers to support msh3 (#4525)

* simplify export include dir cmake code (#4575)

* Delegate build environment configuration with QUIC_EXTERNAL_TOOLCHAIN (#4625)

Well managed CMake build environments make use of CMAKE_TOOLCHAIN_FILE
to configure build environment such as include/lib search paths,
system libraries, build flags, etc.

This change introduces QUIC_EXTERNAL_TOOLCHAIN build option, which
when enabled stops MSQuic CMake scripts from attempting to
do CMake toolchain job.

QUIC_EXTERNAL_TOOLCHAIN defaults to OFF to preserve original behaviour.

* export platform (#4574)

* Add wbemuuid (#4687)

---------

Co-authored-by: Maxim Ivanov <hi+github@yamlcoder.me>
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