aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
AgeCommit message (Collapse)AuthorFilesLines
2018-06-06Fix issues found by flake8Xavier Claessens1-1/+0
2018-06-06Compilers: Chain-up to parent class in get_options()Xavier Claessens1-29/+35
Parent class could have common options for all compilers, and we'll soon add some.
2018-05-02Can combine D and C++ in a single target. Closes #3125.Jussi Pakkanen1-0/+6
2018-04-16Add has_link_argument() and friendsXavier Claessens1-10/+0
Closes: #3335.
2018-04-16VisualStudioCPPCompiler: Fix -fpermissive still being addedXavier Claessens1-2/+2
super(VisualStudioCCompiler, self) calls CPPCompiler and that's what we want to avoid.
2018-04-16Merged Arm CC support.Jussi Pakkanen1-0/+28
2018-04-15Merge pull request #3115 from makise-homura/e2k-lcc-supportJussi Pakkanen1-0/+24
Support lcc compiler for e2k (Elbrus) architecture
2018-03-31Fix for issue in cpp.pySomasekhar Penugonda1-2/+2
Change-Id: Iad9623d20eb5086528dacefce5d2f4f9bb9d0312
2018-03-27Updates to CPP support and update review changesSomasekhar Penugonda1-30/+28
2018-03-21Fixed lchmod detection for lcc C/C++ compilersmakise-homura1-0/+8
2018-03-19Fixed indentation and space issues found by SideCImakise-homura1-1/+1
2018-03-19Added Elbrus lcc compilers support as inheritance from gcc onesmakise-homura1-0/+16
2018-03-14- Updating cpp_std options similar to other compiler classesBedarkar, Malhar1-0/+30
- Updating environment.py for selecting '--vsn' option for armcc only. - Updating build type arguments from GitHub pull request - 3157 Change-Id: Id3151e7715ec1016afdbd65391bb0d414ec7de13
2018-03-03Fix various flake8 indentation reportsJon Turney1-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
2018-01-30Use os.path: basename() and dirname() instead of split()Aleksey Filippov1-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
2018-01-30Print warning when linker arguments are passed to has_argumentTing-Wei Lan1-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.
2017-12-16More version information for compilers.Christoph Behle1-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.
2017-12-07Renamed UserStringArrayOption to UserArrayOption for short.Jussi Pakkanen1-4/+4
2017-12-06Add C++17 flags to GCC and Clang.Jussi Pakkanen1-4/+4
2017-11-29adding C++98 to versions that meson can supportSolomon Choina1-2/+2
2017-08-13Pass -fpch-preprocess to GCC when precompiled headers are usedGabrĂ­el ArthĂșr PĂ©tursson1-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
2017-08-04A few more lgtm fixes.Jussi Pakkanen1-1/+0
2017-07-17Added VS support to simd detector.Jussi Pakkanen1-2/+2
2017-06-26Add 'Compiler.get_display_language'Guillaume Poirier-Morency1-0/+3
Use this when we print language-related information to the console and via the Ninja backend.
2017-06-23Split out languages from compilers.pyAlistair Thomas1-0/+202