summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/c.py
Commit message (Collapse)AuthorAgeFilesLines
* C/C++: Get default include dirs from compilersNiklas Claesson2017-10-011-0/+8
|
* VisualC: Add support for msvc toolset versionNiklas Claesson2017-10-011-0/+26
|
* Linker flag for Windows GUI applications was missing on MSVC.Jussi Pakkanen2017-09-261-0/+3
|
* Merge pull request #2187 from centricular/fix-pcap-dependencyJussi Pakkanen2017-09-221-0/+28
|\ | | | | Fix pcap dependency, str.strip() now takes an argument, add cc.get_return_value()
| * Add a new compiler method: get_return_value()Nirbheek Chauhan2017-09-201-0/+28
| | | | | | | | | | | | | | | | | | This method accepts a single function that takes no arguments and returns a single value which can be a value that can be cast to a 64-bit signed integer, or a string, and returns that value. Mostly useful for running foolib_version() functions that return the currently-available version of libraries.
* | flake8: Perform suggested whitespace/formatting changesLuke Shumaker2017-09-211-2/+0
| | | | | | | | | | This only touches newlines, spaces, and (occaisionally) commas. Anything else is left for another commit.
* | Last round with listify function refactoring.Alexis Jeandet2017-09-181-3/+2
|/ | | | Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
* Pass -fpch-preprocess to GCC when precompiled headers are usedGabrĂ­el ArthĂșr PĂ©tursson2017-08-131-0/+3
| | | | | | | | | | | | 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
* Add thread flags to checks if needed. Closes #2106.Jussi Pakkanen2017-08-011-0/+4
|
* find_library: Ignore libs on MSVC properlyNirbheek Chauhan2017-07-231-5/+6
| | | | | | | | In addition to filtering libs out while generating the command-line, we must also filter them out in find_library() otherwise these libs will be detected as "found" on Windows with MSVC. Closes https://github.com/mesonbuild/meson/issues/1509
* Add build_rpath as new property allowing people to specify rpath entries ↔Jussi Pakkanen2017-07-211-3/+3
| | | | that are used in the build tree but will be removed on install.
* Renamed test case number to avoid dupes.Jussi Pakkanen2017-07-171-0/+2
|
* Fix checks on MinGW and VS2010.Jussi Pakkanen2017-07-171-1/+6
|
* Added VS support to simd detector.Jussi Pakkanen2017-07-171-1/+9
|
* Add 'Compiler.get_display_language'Guillaume Poirier-Morency2017-06-261-1/+1
| | | | | 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/+1007