summaryrefslogtreecommitdiff
path: root/mesonbuild/scripts
AgeCommit message (Collapse)Author
2016-07-24gtkdochelper: Add error checking and printingNirbheek Chauhan
This helps debug why things are failing
2016-07-19vs: Fix Meson invocation while doing regen (#646)Nirbheek Chauhan
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-13Merge pull request #417 from nirbheek/dll-pathsJussi Pakkanen
Fix filenames and paths used in DLL shared library generation
2016-07-12Create a log file of all files installed.Jussi Pakkanen
2016-07-01scripts/install: Also strip '\' from the end of a pathNirbheek Chauhan
Fixes installation of subdirs on Windows
2016-06-16scripts: Use destdir_join fix for all DESTDIR prefixing (#598)Nirbheek Chauhan
2016-06-06meson_test: Fix a bug in valgrind argument handling.Hemmo Nieminen
Do not modify the wrap command argument from the calling function. Appending the valgrind arguments to the wrap list argument will cause all the valgrind arguments to cumulate from all the tests to the wrapper command itself.
2016-06-05Try to delete target files before installing. Closes #578.Jussi Pakkanen
2016-05-30Handle case of install_subdirring a subdir.Jussi Pakkanen
2016-05-30Installing subdirs now merges with existing files in the target dir.Jussi Pakkanen
2016-05-28Always initialise final_command.Jussi Pakkanen
2016-05-28Since we only care about shebang line and sane ones use plain ASCII, use an ↵Jussi Pakkanen
encoding that can not fail. Closes #561.
2016-05-28Join windows-style destdir paths correctly. Closes #567.Jussi Pakkanen
2016-05-26Can pass extra args to xgettext. Closes #554.Jussi Pakkanen
2016-05-25Merge pull request #556 from ebassi/gtkdoc-fixrefJussi Pakkanen
Support passing extra arguments to gtkdoc-fixxref
2016-05-25Merge pull request #479 from mesonbuild/i18nJussi Pakkanen
Moved gettext into i18n module.
2016-05-25Support passing extra arguments to gtkdoc-fixxrefEmmanuele Bassi
The extra arguments are typically used to specified the location of installed API references that gtk-doc can use to create cross links for symbols. Fixes #555
2016-05-22Automagic scan-build support.Jussi Pakkanen
2016-05-21Remove all special casing for gettext and use elementary operations instead.Jussi Pakkanen
2016-05-01Merge branch 'centricular-customtarget-path-windows'Jussi Pakkanen
2016-04-28Fix argv count requirement in delwithsuffix.py scriptMinijackson
2016-04-18scripts/meson_exe: prepend extra_paths to PATH instead of appendingNirbheek Chauhan
This way locally-built DLLs and EXEs are preferred over system-wide ones
2016-04-15ninja: Set PATH for CustomTargets with built EXEs on WindowsNirbheek Chauhan
When a CustomTarget is run with a command that is an executable built by the project which also has a DLL built in the same project as a dependency, the EXE can't run on Windows because the DLL can't be found. On UNIX-like systems, we set the RPATH using the linker so these dependencies can be found, but on Windows the only way is to set the PATH environment variable. The same problem exists for tests, so we reuse that infrastructure by creating a new meson_exe.py script that can be used as a wrapper to run CustomTarget commands on Windows. This can later also be extended to add support for setting an environment while calling the command needed to generate a CustomTarget: https://github.com/mesonbuild/meson/issues/266
2016-04-14Fix a bug (typo) seen when printing the logs from failed tests. (#513)trhd
2016-04-06Merge pull request #438 from trhd/testing_optionsJussi Pakkanen
New options for controlling test output.
2016-04-01Use individual tempdirs for building and installing in unit tests.Jussi Pakkanen
2016-04-01meson_test: Don't print logs from failing tests that are expected to fail.Hemmo Nieminen
2016-04-01meson_test: Add support for --print-errorlogs option.Hemmo Nieminen
This option can be used to control whether the logs from failing tests should be shown to the user after the tests have been executed.
2016-04-01meson_test: Add support for --no-stdsplit option.Hemmo Nieminen
2016-04-01meson_test: Move "options" to a global variable.Hemmo Nieminen
2016-03-30Invoke depfixer in-process to make it faster. Closes #480.Jussi Pakkanen
2016-03-17meson_install.py: Start by checking if the shebang is directly runnableNirbheek Chauhan
If it's just runnable as-is, then we don't need to do fancy basename detection and such to find the interpretor to use for running the script.
2016-02-25vs2010: properly check whether solution needs to be regeneratedNicolas Schneider
2016-02-20meson_install: os.symlink may be implemented and still not workNirbheek Chauhan
Requires Administrator access by default to work
2016-02-17Prevent state leaks when running tests in-process.Jussi Pakkanen
2016-02-14When killing a frozen process, take all its children with it. Closes #377.Jussi Pakkanen
2016-01-23Some windows fixes.Jussi Pakkanen
2016-01-23Better error message when failing to run install script. Closes #361.Jussi Pakkanen
2016-01-16Fix some issues that break pypi installs and bump version to upload new version.Jussi Pakkanen
2016-01-16Made gtkdoc and run targets work.Jussi Pakkanen
2016-01-16Renamed meson package to mesonbuild so that we can have a script named meson ↵Jussi Pakkanen
in the same toplevel dir.