diff options
author | Nicolas Schneider <nioncode+git@gmail.com> | 2019-01-27 16:52:21 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-03-01 21:50:31 +0200 |
commit | ded0defc3fa12d11d722dba78f9dba66256a3b16 (patch) | |
tree | fede9ee481c79a3b70cbf923fa99b4491e50224b /mesonbuild/build.py | |
parent | fcd608c13128dd97021356c005a1be2936862dad (diff) | |
download | meson-ded0defc3fa12d11d722dba78f9dba66256a3b16.zip meson-ded0defc3fa12d11d722dba78f9dba66256a3b16.tar.gz meson-ded0defc3fa12d11d722dba78f9dba66256a3b16.tar.bz2 |
auto generate msvc pch source file if none is provided by the user
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 2187d3e..9a1d158 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1096,6 +1096,8 @@ You probably should put it in link_with instead.''') if (os.path.dirname(pchlist[0]) != os.path.dirname(pchlist[1])): raise InvalidArguments('PCH files must be stored in the same folder.') + + mlog.warning('PCH source files are deprecated, only a single header file should be used.') elif len(pchlist) > 2: raise InvalidArguments('PCH definition may have a maximum of 2 files.') for f in pchlist: |