diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-09-30 14:48:37 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-10-01 15:06:10 -0700 |
commit | f9316fbb46a8fcc7f69db7164e8ac0b30a0212d2 (patch) | |
tree | a6fbc1daf0c340ae4a92faea026665b86208d620 /mesonbuild/compilers/mixins/intel.py | |
parent | be99d00e95be47d9f0414f6802e04336867ebd52 (diff) | |
download | meson-f9316fbb46a8fcc7f69db7164e8ac0b30a0212d2.zip meson-f9316fbb46a8fcc7f69db7164e8ac0b30a0212d2.tar.gz meson-f9316fbb46a8fcc7f69db7164e8ac0b30a0212d2.tar.bz2 |
compilers/icl: Fix pch usage
Diffstat (limited to 'mesonbuild/compilers/mixins/intel.py')
-rw-r--r-- | mesonbuild/compilers/mixins/intel.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/mixins/intel.py b/mesonbuild/compilers/mixins/intel.py index 1fc55fc..442e8c7 100644 --- a/mesonbuild/compilers/mixins/intel.py +++ b/mesonbuild/compilers/mixins/intel.py @@ -186,3 +186,6 @@ class IntelVisualStudioLikeCompiler(VisualStudioLikeCompiler): def get_optimization_args(self, optimization_level: str) -> T.List[str]: return self.OPTIM_ARGS[optimization_level] + + def get_pch_base_name(self, header: str) -> str: + return os.path.basename(header)
\ No newline at end of file |