268 Commits (56efd2211ff15803fb8414f91c842789d73c4f1f)

Author SHA1 Message Date
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
Nirbheek Chauhan d95a108503 compilers: MSVC does not understand the -lfoo syntax 9 years ago
Martin Ejdestig a179d07fd1 Do not pass -Weverything to Clang at warning level 3 9 years ago
Jussi Pakkanen 53e90acda9 Fix Vala cross compilation. Closes #370. 9 years ago
Nirbheek Chauhan deff35eef6 Filter out UNIX flags from external deps when using the MSVC compiler 9 years ago
Nirbheek Chauhan 3dd039487e compilers: /LD is not needed for PIC support in DLLs 9 years ago
Nirbheek Chauhan 3fcd056e86 compilers: Don't pass /D for debugoptimized build type 9 years ago
Jussi Pakkanen 819da091c2 Use deterministic mode in ar when it is available. 9 years ago
Jussi Pakkanen 6a3e29ccd4 If test exes can not be removed (because e.g. an antivirus program holds on to the file), just leave them behind. Closes #378. 9 years ago
Jussi Pakkanen 23b98cd6e6 Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir. 9 years ago
Jussi Pakkanen 8b1039fa30 Organise files into a module structure. 9 years ago
Jussi Pakkanen 4c041e2aec Can tag include directories as system dirs to reduce compiler warning noise. Closes #345. 9 years ago
Jussi Pakkanen edaf663ee2 By default do not specify language version but instead use the compiler's default. 9 years ago
Jussi Pakkanen 7e1df7540d Handle custom targets that produce static libraries that are then linked to other targets. 9 years ago
Martin Ejdestig c75d2fc609 Replace c++1y with c++14 as a choice for cpp_std 9 years ago
Martin Ejdestig 84f138e69a Fix typo in description of cpp_std option for GnuCPPCompiler 9 years ago
Jussi Pakkanen d92e6c4595 Boost win detection tuning. 9 years ago
Jussi Pakkanen 015688f506 Compile Windows resources. Closes #333. 9 years ago
Jussi Pakkanen 161d633f36 Added support for calling into C. 9 years ago
Jussi Pakkanen d531f915b1 Can build Swift libraries and link them. 9 years ago
Jussi Pakkanen 43b07729aa Reworked swift code so now can use multiple source files in one target. 9 years ago
Jussi Pakkanen 7ed515dacc Refactored dep file name so Swift dependency tracking works. 9 years ago
Jussi Pakkanen d92504797f Can build simple Swift executables. 9 years ago
Thibault Saunier b15aa49af2 Handle the case where we can not execute a file the tempdir 9 years ago