90 Commits (b1e4b8e1432b3883299e199b98e00e29bf8c2762)

Author SHA1 Message Date
Jussi Pakkanen b289547971 Force clang to error out on unknown arguments. Closes #755. 8 years ago
Elliott Sales de Andrade 4c71695e41 Use context manager for file I/O. 8 years ago
Nirbheek Chauhan 7830cb61c3 Add a new compiler object method: has_members (#723) 8 years ago
Matthias Klumpp d98959f2cb Make D compilers return colored output by default 8 years ago
Matthias Klumpp 76fe77f9a8 Don't automatically override the -L flag of D compilers 8 years ago
Matthias Klumpp 309f7a1b4a interpreter: Rename get_unittest_flag() to unittest_args() 8 years ago
Matthias Klumpp b80bdf65df Simplify D compiler argument translation 8 years ago
Jussi Pakkanen 5a926172e6 No fpic on Windows C++. Closes #690. 8 years ago
Matthias Klumpp 57c54a678c Allow build definitions to retrieve the unittest flag of a D compiler 8 years ago
Matthias Klumpp 56823272ab Implement D support 8 years ago
Nirbheek Chauhan 5b7e4ac1f6 compilers: Always return a copy of the exelist 8 years ago
Jussi Pakkanen 58ca96994f Add option for as-needed link option. 8 years ago
Jussi Pakkanen a0666ebf9c Gcc versions older than 4.9 do not support color output. 9 years ago
Jussi Pakkanen 4f63fe4983 Enable colored output with GCC. Ninja redirects stdout/stderr so by default GCC thinks it is not talking to a terminal. 9 years ago
Nirbheek Chauhan 0143c32c7c Overhaul versioning and naming of libraries 9 years ago
Zhe Wang bc347aed0b GnuCPPCompiler: allow usage of GNU extensions (#619) 9 years ago
Nirbheek Chauhan 4934e70092 Don't pass pdb flags while linking inside compiler tests (#614) 9 years ago
Jussi Pakkanen 06a5853fde Thank you ever so much Git. 9 years ago
Jussi Pakkanen b6e8809f25 Added minsize build type that optimizes for binary size. 9 years ago
Jussi Pakkanen 436eab9b85 Print full mesonlog on failed tests when run under CI. 9 years ago
Nirbheek Chauhan c03870b798 compilers: Copy extra_args whenever we modify it 9 years ago
Jussi Pakkanen 10f6295ca8 Do not use [] as a function default argument as the variable persists over multiple invocations. 9 years ago
Nirbheek Chauhan 7c90beefde find_library: Also accept extra_dirs as a single string argument 9 years ago
Nirbheek Chauhan abf81aab77 Use cross-info c_args, c_link_args, etc for all compiler checks 9 years ago
Nirbheek Chauhan 777c1e9c19 compilers: Fix usage of cross tools args in sanity checks 9 years ago
Martin Hostettler 4979b4c84f compiler: Use cross tools args in sanity check. 9 years ago
Jussi Pakkanen d4adf0983b Add special casing for VS which ignores unknown arguments. 9 years ago
Jussi Pakkanen beef7cb291 Added functionality to pick the first supported argument from a list. Closes #583. 9 years ago
Jussi Pakkanen d8d989d9b8 Add a has_arg method to compiler to check whether it supports a given argument. 9 years ago
Nirbheek Chauhan 9f4d963bd9 compilers: Add the buildtype args for checks that perform linking (#543) 9 years ago
Jussi Pakkanen a6712b7f20 Can haz next revision of C++ standard. 9 years ago
Jussi Pakkanen 92dfc4eb0b Pch disabling works now. 9 years ago
Nicolas Schneider 60bca15e78 set working dir for sanity check compilation 9 years ago
Nirbheek Chauhan 7aa24c7d0a compilers: Fix header stub change that broke has_function checks on Windows (#559) 9 years ago
Nirbheek Chauhan 4578e11618 compilers: Always include limits.h to make the stub machinery work 9 years ago
Nirbheek Chauhan 3776975203 compilers: Remove duplication in sanity check implementations 9 years ago
Jussi Pakkanen afe7252476 Can specify a stdlib subproject that is used implicitly on all targets with said language. 9 years ago
Jussi Pakkanen 1574471822 Option for GCC STL debug mode. 9 years ago
Nirbheek Chauhan 58386c4df3 compilers: Remove spurious wait while running sanity check 9 years ago
Nirbheek Chauhan c9f16a4ab1 cc.has_function: Don't forget to check for stubs in the fallback test 9 years ago
Nirbheek Chauhan 2300c022c2 has_function: Also detect function implementations inside headers 9 years ago
Nirbheek Chauhan aa7202d42f compilers: Remove outdated MSVC implementation of cc.find_library 9 years ago
Nirbheek Chauhan d87f2f5b42 compilers: Convert args to cc.{links,run} from unix to native 9 years ago
Nirbheek Chauhan 2c687b02c2 Fix symbol-exists check for cross_sizeof and add the same check to cross_alignment 9 years ago
Nirbheek Chauhan 9a9654c4bd Fix off-by-one in cross_sizeof and cross_alignment on MSVC 9 years ago
Nirbheek Chauhan b56f008f80 compilers: Fix cross_sizeof when the type doesn't exist (#514) 9 years ago
Nirbheek Chauhan e72523ae41 compilers: Use compiler-specific no-optimization flags 9 years ago
Nirbheek Chauhan 804a3ca72a compilers: Debug optimization level should be -O0 (#509) 9 years ago
Nirbheek Chauhan 4e084e7ac1 compilers: Also support built-in functions in cc.has_function 9 years ago
Tim-Philipp Müller 1934ddfc5b Improve cc.has_function() check to not require any includes and detect stubs 9 years ago