-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CMake] Fixes /INCREMENTAL detection when considering adding /Brepro
/INCREMENTAL is the linker default (lld-link and MSVC link). Specifying "/INCREMENTAL:NO" is the only way to disable it. So checking for the negative flag instead and check exe/module/shared link flags independently. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D117381
- Loading branch information
Yuanfang Chen
committed
Jan 24, 2022
1 parent
3b64ab5
commit d87459a
Showing
1 changed file
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters