aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-07-01Gcc versions older than 4.9 do not support color output.Jussi Pakkanen3-8/+13
2016-07-01Enable colored output with GCC. Ninja redirects stdout/stderr so by default ↵Jussi Pakkanen1-2/+24
GCC thinks it is not talking to a terminal.
2016-07-01Merge pull request #618 from mesonbuild/rtrehaulJussi Pakkanen8-33/+117
Rework run_target to mirror custom_target.
2016-07-01Use new run_target format.Jussi Pakkanen1-3/+6
2016-07-01Unify common code in run_target and custom_target.Jussi Pakkanen1-14/+9
2016-06-27GnuCPPCompiler: allow usage of GNU extensions (#619)Zhe Wang2-1/+3
* GnuCPPCompiler: allow usage of GNU extensions * Add myself to authors.txt
2016-06-24Changed run_target to take command as kwarg and add depends. This makes it ↵Jussi Pakkanen8-24/+110
behave the same as custom_target.
2016-06-24Added version info to sdl2dep. Closes #616.Jussi Pakkanen1-0/+6
2016-06-24Run_target can run binaries obtained with find_program.Jussi Pakkanen3-1/+6
2016-06-24Don't pass pdb flags while linking inside compiler tests (#614)Nirbheek Chauhan1-7/+22
This causes intermittent build failures in the MSVC CI because of a race with the default anti-virus that ships with Windows while writing the .pdb file: https://ci.appveyor.com/project/jpakkane/meson/build/1.0.58 There's a separate fix for that in the works that will fix this in the general case, but for compiler tests we don't need to generate the pdb file at all. So, just fetch the CRT flag (/MDd) if needed instead. This has the side-effect of making compiler tests that use self.links and self.run faster.
2016-06-24Thank you ever so much Git.Jussi Pakkanen1-1/+1
2016-06-24Fix typo argument order to TestRunner (#615)Nirbheek Chauhan1-1/+1
2016-06-23Added minsize build type that optimizes for binary size.Jussi Pakkanen3-11/+25
2016-06-23Print full mesonlog on failed tests when run under CI.Jussi Pakkanen3-19/+35
2016-06-22Merge pull request #610 from centricular/version-check-not-found-depJussi Pakkanen2-1/+5
dependency: Fix version check for a not-found dependency
2016-06-21Add a test for the broken cached version compareNirbheek Chauhan1-0/+4
https://github.com/mesonbuild/meson/pull/610
2016-06-21dependency: Fix version check for a not-found dependencyNirbheek Chauhan1-1/+1
The check was wrong, and we were passing 'none' as the 'found' version to the version compare if the cached dep was a not-found dependency
2016-06-21compilers: Copy extra_args whenever we modify itNirbheek Chauhan1-11/+13
Otherwise the changes ripple upstream and modify extra_args in the callee
2016-06-21Do not use [] as a function default argument as the variable persists over ↵Jussi Pakkanen1-12/+36
multiple invocations.
2016-06-21Merge pull request #607 from centricular/subdir-include-orderJussi Pakkanen4-7/+28
Add subdir includes before external dep includes
2016-06-21wxwidgets: Don't error out if dependency is not required (#606)Nirbheek Chauhan1-3/+4
2016-06-21find_library: Also accept extra_dirs as a single string argumentNirbheek Chauhan1-0/+2
2016-06-21Add a linuxlike test case for subdir include orderNirbheek Chauhan3-0/+20
Needs glib-2.0 as a pkg-config dependency
2016-06-21ninjabackend: Add subdir includes before external dep includesNirbheek Chauhan1-7/+8
Fixes https://github.com/mesonbuild/meson/issues/604
2016-06-18Merge pull request #601 from Ippytraxx/masterJussi Pakkanen2-0/+3
Add custom_install_dir to ld path in pkgconfig module
2016-06-18Add myself to authors.txtippytraxx1-0/+1
2016-06-17vs backends: Translate unix link and compile flags (#603)Nirbheek Chauhan1-6/+3
2016-06-17Use add_target() for adding targets returned from module functionsNirbheek Chauhan1-9/+3
Without this, the target isn't added to self.coredata.target_guids and the VS backends fail to parse the list of targets
2016-06-17Add custom_install_dir to ld path in pkgconfig moduleIppytraxx1-0/+2
2016-06-16Octopus merged cross fixes and genetor custom because why not.Jussi Pakkanen9-40/+103
2016-06-16add myself to authors fileNoam Meltzer1-0/+1
2016-06-16gitignore - /.idea - pycharm's project dirNoam Meltzer1-0/+1
2016-06-16be more resilient for identifying gcc compilersNoam Meltzer1-1/+1
2016-06-16determine_linker(): choose static cross linker for cross compilingNoam Meltzer1-1/+4
somewhere after 0.29.0 a bug was introduced where the LINK_ARGS of the native static linker were used instead of the cross static linker
2016-06-16Merge pull request #586 from centricular/c_args-compiler_checksJussi Pakkanen2-67/+77
Use cross-info c_args, c_link_args, etc for compiler checks
2016-06-16scripts: Use destdir_join fix for all DESTDIR prefixing (#598)Nirbheek Chauhan4-17/+30
2016-06-16Merge pull request #594 from ssssam/sam/vala-target-nameJussi Pakkanen2-2/+3
Use target name to decide generated Vala .h & .vapi filenames
2016-06-16tests: Fix 103 manygen when both cl and gcc are availableNirbheek Chauhan1-6/+9
Meson uses the 'CC' environment variable, so manygen.py should too
2016-06-15Add myself to authors.txtSam Thursfield1-0/+1
2016-06-15Use target name to decide generated Vala .h & .vapi filenamesSam Thursfield1-2/+2
Previously Meson would use the name of the first .vala source file. This doesn't work for some projects. Tracker is one example: it has several libraries that mix Vala and C code. In such cases, none of the .vala files tend to bear the name of the library we actually want to generate.
2016-06-15Use cross-info c_args, c_link_args, etc for all compiler checksNirbheek Chauhan2-63/+73
This allows the user to specify custom arguments to the compiler to be used while performing cross-compiler checks. For example, passing a GCC specs file as c_link_args so that a "prefix" filled with libraries that are to be compiled against can be found with cc.find_library, or an `-mcpu` c_arg that is required for compilation. Also ensure that unix_link_flags_to_native() and unix_compile_flags_to_native() always return a copy of the original arguments and not a reference to the original arguments. We never want to modify the original arguments.
2016-06-15compilers: Fix usage of cross tools args in sanity checksNirbheek Chauhan1-4/+4
The cross-extra-flags were being overwritten and ignored. Also, we don't link while doing a cross-compiled sanity check even with ObjC++
2016-06-14Merge pull request #591 from textshell/ninja-quoteJussi Pakkanen1-1/+1
ninjabackend: Add missing ninja_quote for cross compilation rule.
2016-06-14Merge pull request #590 from textshell/compiler-sanity-crossJussi Pakkanen3-20/+53
compiler: Use cross tools args in sanity check.
2016-06-14Add myself to the authors file.Martin Hostettler1-0/+1
2016-06-14Show appveyor badge on readme.Jussi Pakkanen1-2/+1
2016-06-13Finish appveyor integration by moving static library in a subdir to avoid ↵Jussi Pakkanen4-4/+7
clashes.
2016-06-13Explicitly add python dir to path so it is found.Jussi Pakkanen1-1/+1
2016-06-13Print full log when failures happen under Appveyor.Jussi Pakkanen2-4/+1
2016-06-13Call setenv so hopefully Visual Studio tools will be in path.Jussi Pakkanen1-0/+1