-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate warnings as error queries outside of create_omr_compiler_library
Downstream projects may want to override warnings as errors for compiler libraries. Specifically, when compiling NASM sources on Windows Cygwin we want to avoid adding the warnings as error options via the `target_compile_options` API because NASM on Cygwin does not accept the `/WX` flag which Visual Studio wants to apply. In such cases the assembly sources are separated into their own compiler library and warnings as errors are disabled before creating the library such that the aforementioned flag is not applied.
- Loading branch information
Showing
3 changed files
with
16 additions
and
9 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
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
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