summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix various flake8 indentation reportsJon Turney2018-03-031-1/+1
| | | | | | | | | | | | $ flake8 | grep -E '(E123|E127|E128)' ./run_unittests.py:1358:37: E127 continuation line over-indented for visual indent ./run_unittests.py:1360:37: E127 continuation line over-indented for visual indent ./mesonbuild/minit.py:311:66: E128 continuation line under-indented for visual indent ./mesonbuild/minit.py:312:66: E128 continuation line under-indented for visual indent ./mesonbuild/minit.py:313:66: E128 continuation line under-indented for visual indent ./mesonbuild/compilers/cpp.py:115:63: E127 continuation line over-indented for visual indent ./msi/createmsi.py:156:13: E123 closing bracket does not match indentation of opening bracket's line ./msi/createmsi.py:188:13: E123 closing bracket does not match indentation of opening bracket's line
* Use os.path: basename() and dirname() instead of split()Aleksey Filippov2018-01-301-1/+1
| | | | | | | | | | | | According to Python documentation[1] dirname and basename are defined as follows: os.path.dirname() = os.path.split()[0] os.path.basename() = os.path.split()[1] For the purpose of better readability split() is replaced by appropriate function if only one part of returned tuple is used. [1]: https://docs.python.org/3/library/os.path.html#os.path.split
* Print warning when linker arguments are passed to has_argumentTing-Wei Lan2018-01-301-0/+8
| | | | | | has_argument and other similar methods of compiler objects only support checking compiler flags. If they are used to check linker flags, the results are very likely to be wrong and developers should be warned.
* More version information for compilers.Christoph Behle2017-12-161-8/+8
| | | | | | | | See issue #2762 Adds full_version to class Compiler. If set full_version will be printed additionally. Added support for CCompiler and CPPCompiler Added support for gcc/g++, clang/clang++, icc.
* Renamed UserStringArrayOption to UserArrayOption for short.Jussi Pakkanen2017-12-071-4/+4
|
* Add C++17 flags to GCC and Clang.Jussi Pakkanen2017-12-061-4/+4
|
* adding C++98 to versions that meson can supportSolomon Choina2017-11-291-2/+2
|
* Pass -fpch-preprocess to GCC when precompiled headers are usedGabrĂ­el ArthĂșr PĂ©tursson2017-08-131-0/+5
| | | | | | | | | | | | CCache requires this flag when building with precompiled headers. Without it, the preprocessor fails and CCache fallbacks to running the real compiler. Users still need to set 'sloppiness' to 'pch_defines,time_macros' in their ccache.conf file for CCache to cache builds that use precompiled headers. See the CCache manual for more info: https://ccache.samba.org/manual.html#_precompiled_headers
* A few more lgtm fixes.Jussi Pakkanen2017-08-041-1/+0
|
* Added VS support to simd detector.Jussi Pakkanen2017-07-171-2/+2
|
* Add 'Compiler.get_display_language'Guillaume Poirier-Morency2017-06-261-0/+3
| | | | | Use this when we print language-related information to the console and via the Ninja backend.
* Split out languages from compilers.pyAlistair Thomas2017-06-231-0/+202