diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2014-02-23 22:07:54 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2014-02-23 22:07:54 +0200 |
commit | 836c978c94e4a0b94c269cbd10a8eeea0437ff66 (patch) | |
tree | 333ad75201c9b275e8d2ba9233788db6c0bf5d96 /environment.py | |
parent | 7bc3b78c68642abd282c9ca9b26bde5e6dd0eaab (diff) | |
download | meson-836c978c94e4a0b94c269cbd10a8eeea0437ff66.zip meson-836c978c94e4a0b94c269cbd10a8eeea0437ff66.tar.gz meson-836c978c94e4a0b94c269cbd10a8eeea0437ff66.tar.bz2 |
C++ compiler can compile .h file, too.
Diffstat (limited to 'environment.py')
-rw-r--r-- | environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.py b/environment.py index c48d87d..58a7bf6 100644 --- a/environment.py +++ b/environment.py @@ -775,7 +775,7 @@ def detect_ninja(): header_suffixes = ['h', 'hh', 'hpp', 'hxx', 'H'] -cpp_suffixes = ['cc', 'cpp', 'cxx', 'hh', 'hpp', 'hxx'] +cpp_suffixes = ['cc', 'cpp', 'cxx', 'h', 'hh', 'hpp', 'hxx', 'c++'] c_suffixes = ['c'] clike_suffixes = c_suffixes + cpp_suffixes |