Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-08-12 | Only append compile flags to the link flags when appropriate | Nirbheek Chauhan | 2 | -4/+13 | |
We should only append the compiler flags to the link flags when the compiler is used as a wrapper around the linker during the link process | |||||
2016-08-12 | compilers: Always return a copy of the exelist | Nirbheek Chauhan | 1 | -7/+7 | |
The consumer might append to it, which will mess up the original object | |||||
2016-08-11 | Print the CFLAGS/LDFLAGS/etc inherited from the environment | Nirbheek Chauhan | 1 | -24/+37 | |
People can forget it and then wonder what's wrong. Just explicitly print it. | |||||
2016-08-08 | Doc clarification. | Jussi Pakkanen | 1 | -1/+1 | |
2016-08-04 | File name update in manifest. | Jussi Pakkanen | 1 | -1/+1 | |
2016-08-04 | Handle both DT_RPATH as well as DT_RUNPATH when fixing rpath settings. | Jussi Pakkanen | 1 | -7/+23 | |
2016-08-03 | Merge pull request #664 from mesonbuild/asneeded | Igor Gnatenko | 1 | -0/+14 | |
Add option for as-needed link option. | |||||
2016-08-02 | Add option for as-needed link option. | Jussi Pakkanen | 1 | -0/+14 | |
2016-08-01 | test common/86: Move static library back (#662) | Nirbheek Chauhan | 2 | -5/+3 | |
This reverts 15ab984d8e2cf396be385d7515f72561c3cbaaa2 Also see #459 | |||||
2016-08-01 | Merge pull request #605 from mesonbuild/ternary | Jussi Pakkanen | 4 | -0/+42 | |
Added ternary operator support | |||||
2016-08-01 | Forbid nested ternary operations. | Jussi Pakkanen | 2 | -0/+9 | |
2016-08-01 | Created ternary operator. Closes #538. | Jussi Pakkanen | 3 | -0/+33 | |
2016-08-01 | interpreter: Print what subproject dir could not be found | Nirbheek Chauhan | 1 | -1/+2 | |
Fixes #655 | |||||
2016-07-30 | Update version for new development. | Jussi Pakkanen | 1 | -1/+1 | |
2016-07-30 | Raise version number for release.0.33.0 | Jussi Pakkanen | 5 | -5/+5 | |
2016-07-30 | Merge pull request #660 from mesonbuild/libdirfix | Jussi Pakkanen | 4 | -11/+13 | |
Fix library directory handling | |||||
2016-07-30 | Determine lib paths on demand rather than up front because they might change ↵ | Jussi Pakkanen | 1 | -8/+10 | |
during build file parsing. | |||||
2016-07-30 | Merge pull request #659 from centricular/find-program-scripts-windows | Jussi Pakkanen | 3 | -25/+69 | |
find_program: Find scripts without extensions on Windows | |||||
2016-07-30 | Merge pull request #641 from centricular/allow-backslash | Jussi Pakkanen | 11 | -44/+157 | |
Ninja now supports backslash in command args, so we can too. | |||||
2016-07-30 | Add test for the new find program workaround for Windows | Nirbheek Chauhan | 2 | -0/+7 | |
2016-07-30 | find_program: Find scripts without extensions on Windows | Nirbheek Chauhan | 1 | -25/+62 | |
Because of how files and executables work on Windows, scripts that use an interpreter must have an extension, and that extension must be associated with an interpreter. The full list of executable extensions is available in the PATHEXT environment variable. However, UNIX-like OSes use an executable bit and read the shebang to figure out what interpreter to use, and the scripts don't need to have extensions. We can now detect these scripts using find_program by manually searching in PATH and reading the shebang. | |||||
2016-07-29 | ninja: Add escaping for backslash in -D arguments | Nirbheek Chauhan | 1 | -1/+28 | |
This is only needed for defines. Other arguments such as -I and /Fa that also take arguments with spaces and backslashes don't need it at all. | |||||
2016-07-29 | vs: Fix quoting and escaping of compiler options | Nirbheek Chauhan | 1 | -6/+43 | |
Target-specific compiler options should be split into pre-processor defines, include directories, and additional options, then escaped/quoted and added to the appropriate portions of the project file. The "115 spaces backslash" test now checks that backslashes and spaces now work properly in all three places. | |||||
2016-07-29 | Ninja now supports backslash in command args, so we can too | Nirbheek Chauhan | 9 | -37/+86 | |
At the same time, this also adds a bunch of tests that document and keep track of how we expect quoting to pass through via Ninja to the compiler. We need at least Ninja 1.6.0 for this. This fixes https://github.com/mesonbuild/meson/issues/489 | |||||
2016-07-29 | vs: Fix regen_checker by using the correct coredata mtime | Nirbheek Chauhan | 2 | -3/+9 | |
After c01b183e5, the mtime of coredata.dat is always newer than all the other build files, which made regen_checker think that they always had to be regenerated. Now we set the mtime of the file to a value before the build files are generated and that makes everything behave as it did earlier. | |||||
2016-07-28 | A few error message fixes. | Jussi Pakkanen | 2 | -0/+4 | |
2016-07-28 | Merge pull request #657 from centricular/pkgconfig-dep-msgs | Jussi Pakkanen | 2 | -48/+67 | |
Various fixes that improve errors and logging around pkg-config dependencies | |||||
2016-07-28 | Convert socket checks. | Jussi Pakkanen | 1 | -0/+1 | |
2016-07-28 | dependency: Better errors when fallbacks are not found | Nirbheek Chauhan | 1 | -3/+12 | |
Otherwise the message is very cryptic and no one can figure out what Meson actually wants | |||||
2016-07-28 | pkg-config: Print 'NO' when version is too old | Nirbheek Chauhan | 1 | -8/+12 | |
This gives a clearer output when the dependency is not required or has a fallback subproject otherwise the user is left wondering why the optional dependency wasn't used or why the fallback subproject is being used. | |||||
2016-07-28 | pkg-config: Move setting of cargs and libs to functions | Nirbheek Chauhan | 1 | -6/+12 | |
Much cleaner this way. It's completely clear what each block of code does. | |||||
2016-07-28 | pkg-config: Short-circuit when there's no pkg-config file found | Nirbheek Chauhan | 1 | -49/+49 | |
Just exit immediately when there's no pkg-config file found instead of putting everything else in a huge 'else:'. Much clearer and avoids one level of indentation. No code changes accompany this. | |||||
2016-07-27 | Test that the 'libdir' project() option works | Nirbheek Chauhan | 2 | -2/+2 | |
2016-07-27 | ninja: Fix static library installation dir | Nirbheek Chauhan | 1 | -1/+1 | |
Trivially correct typo fix. Didn't actually break anything because the fallback is libdir anyway, and we always install static libraries to libdir. Pointed out by Zhe Wang (0x1997). | |||||
2016-07-25 | Added test for a prebuilt static library and a declare_dependency that uses it. | Jussi Pakkanen | 9 | -20/+68 | |
2016-07-25 | Merge pull request #651 from centricular/gtkdoc-new-runtarget-syntax | Jussi Pakkanen | 2 | -14/+24 | |
Port gtk-doc module to the latest RunTarget syntax | |||||
2016-07-24 | Updated manual test 1. | Jussi Pakkanen | 2 | -10/+9 | |
2016-07-24 | gtkdochelper: Add error checking and printing | Nirbheek Chauhan | 1 | -13/+23 | |
This helps debug why things are failing | |||||
2016-07-21 | gnome: Update RunTarget usage to new syntax | Nirbheek Chauhan | 1 | -1/+1 | |
This was broken in 0733c0f9a1cd7a38e3a8f5c746e50967eeb9c9a5 | |||||
2016-07-20 | Properties is no longer mandatory in cross files so do not require it. | Jussi Pakkanen | 1 | -3/+1 | |
2016-07-19 | Normalize the path of a configured file to avoid dupes (#640) | Nirbheek Chauhan | 8 | -7/+23 | |
2016-07-19 | vs: Fix Meson invocation while doing regen (#646) | Nirbheek Chauhan | 2 | -4/+8 | |
The Meson script is not always in $scriptdir/../../ -- for instance if installed with pip on Windows, the scriptdir is in: C:/Python35/Lib/site-packages/meson-0.33.0.dev1-py3.5.egg/mesonbuild/scripts and the meson.py script is in: C:/Python35/Scripts So, let's save the path available as Environment().meson_script_file into the coredata.dat private file and use that to invoke Meson when doing regen. Also, let's fetch the backend that was used from the coredata too instead of hard-coding vs2010. Both these were causing a hard failure while doing regen with msbuild or visual studio. | |||||
2016-07-18 | vs: Fix visual studio version in solution file (#648) | Nirbheek Chauhan | 2 | -1/+3 | |
2016-07-18 | Also read WINDRES envvar to find windres (#645) | Nirbheek Chauhan | 1 | -1/+4 | |
This is, of course, only used when building with MinGW | |||||
2016-07-18 | coredata: Descriptive parser exceptions for UserStringArrayOption | Nirbheek Chauhan | 1 | -2/+2 | |
2016-07-15 | Warn if PKG_CONFIG_PATH has changed because it may cause dependency ↵ | Jussi Pakkanen | 2 | -0/+10 | |
detection to fail. Closes #626. | |||||
2016-07-15 | interpretor: Use the stdout/stderr locale to decode to string (#638) | Nirbheek Chauhan | 1 | -2/+8 | |
Fixes a decode error with locales other than en_US on Windows | |||||
2016-07-15 | ninja: Remove duplicated if check (#637) | Nirbheek Chauhan | 1 | -2/+1 | |
Trivially correct | |||||
2016-07-15 | mesonmain: Dump the coredata last | Nirbheek Chauhan | 1 | -1/+6 | |
Otherwise we'll mark the build directory as successfully configured even if there's an error while doing the actual generation. Reported on IRC by 'sdgsgad' | |||||
2016-07-13 | Merge pull request #417 from nirbheek/dll-paths | Jussi Pakkanen | 57 | -248/+808 | |
Fix filenames and paths used in DLL shared library generation |