237 Commits (79208fd9c4e6c865f4ef12ce992d5e3d8c7f4ad4)

Author SHA1 Message Date
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
Nirbheek Chauhan 700010e452 New API: cc.has_header_symbol to check if a header defines a specific symbol 9 years ago
Jussi Pakkanen 737fde65fa Bring back the old manual search to cc.find_library. 9 years ago
Jussi Pakkanen e0792295bc Whitespace fixing. 9 years ago
Jussi Pakkanen 6291fb4056 Put buildtype flags to vala compiles. 9 years ago
Jussi Pakkanen 3415c3a693 Add coverage option to compilers. 9 years ago
Hemmo Nieminen 336904b553 Move MesonException from coredata to mesonlib. 9 years ago
Nirbheek Chauhan 1713fa0297 Add shared_library argument for a Visual Studio module definitions file 9 years ago
Nirbheek Chauhan a8c6fd6aa4 compilers: Return -1 from cc.sizeof if the symbol could not be found 9 years ago
Tim-Philipp Müller 8945c85f96 Fix up typo in precompiled headers base option handling 9 years ago
Jussi Pakkanen 79de463993 Converted precompiled headers into a base option. 9 years ago
Jussi Pakkanen 0c63f75aaf Converted coverage into a base option. 9 years ago
Jussi Pakkanen 0c9c29b6b6 Preserve b_ prefix for base option names. 9 years ago
Nirbheek Chauhan 57e01c2964 compilers: While linking, filter out libraries that are bundled with the MSVC runtime 9 years ago
Jussi Pakkanen ae1f284ade Added base options to Clang compilers. 9 years ago
Nirbheek Chauhan 64a0dc6269 Implement cc.find_library for the Visual Studio C/C++ compilers 9 years ago
Jussi Pakkanen 90c799fc61 Do not use lundef on OSX. 9 years ago
Jussi Pakkanen 8b6848ebc3 Add dir support for find_library and remove deprecated standalone version. Closes #450. 9 years ago
Jussi Pakkanen 19046fd854 Added new base options and some sample opts for gcc. 9 years ago
Jussi Pakkanen 9c5bda3f40 Return array by value so it does not get modified. 9 years ago
Jussi Pakkanen 6b548a1c75 Added find_library method and deprecated the standalone version. Closes #396. 9 years ago
Jussi Pakkanen c6138fe8bd .ipp is a C++ header suffix. 9 years ago