aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2021-01-30Merge pull request #8200 from bonzini/mtest-asyncio-logsJussi Pakkanen1-0/+29
mtest: improvements to logging
2021-01-29external_project: Add release snippetXavier Claessens1-0/+11
2021-01-29Can read project version from a file.Jussi Pakkanen2-1/+15
2021-01-29external_project: Add default configure optionsXavier Claessens1-3/+9
2021-01-27intepreter: Allow using file objects for the script_name of add_*_scriptDylan Baker2-2/+29
It's a bit silly and conveluted to have to call find_program on the output of configure_file, so let's just allow passing files as the script name.
2021-01-27custom_target: Add env kwargXavier Claessens2-0/+15
2021-01-27test: Make timeout <= 0 infinite duractionXavier Claessens2-2/+14
2021-01-26dist: Allow packaging subproject in same git repo as main projectXavier Claessens2-0/+34
2021-01-26docs: Fix sentence in Machine-files.md [skip ci]Florian Schmaus1-1/+1
Fixes: 1ca17dc853ec ("docs/machine-files: Add a section on data types")
2021-01-23docs: Fix typo in Syntax.md [skip ci]Evgeny Ermakov1-1/+1
2021-01-22docs: add documentation snippet for meson test console output changesPaolo Bonzini1-0/+29
2021-01-21interpreter: accept external programs and dependencies for summaryPaolo Bonzini2-1/+9
2021-01-20MSVC and Clang-Cl Compiler Argument CleanupMarios Staikopoulos1-0/+16
This commit performs some cleanup for the msvc and clang-cl arguments. * "Disable Debug" (`/Od`) is no longer manually specified for optimization levels {`0`,`g`} (it is already the default for MSVC). * "Run Time Checking" (`/RTC1`) removed from `debug` buildtype by default * Clang-CL `debug` buildtype arguments now match MSVC arguments * There is now no difference between `buildtype` flags and `debug` + `optimization` flags
2021-01-20Added "How do I use a library before declaring it?" in the FAQ.Volker Weißmann1-0/+17
2021-01-19Keep buildtype the same even if user changes debug and/or optimization.Jussi Pakkanen2-0/+43
2021-01-17Removal of /ZI on MSVC DebugMarios Staikopoulos1-0/+14
The /ZI flag adds in "Edit and Continue" debug information, which will cause massive slowdown. It is not a flag that we should be adding by default to debug builds. /Zi will still be added.
2021-01-14mtest: allow quickly interrupting the test runPaolo Bonzini1-0/+5
The new behavior of interrupting the longest running test with Ctrl-C is useful when tests hang, but not when the run is completely broken for some reason. Psychology tells us that the user will compulsively spam Ctrl-C in this case, so exit if three Ctrl-C's are detected within a second.
2021-01-14Add qtcreator to IDE-integration.mdgaal-dev1-0/+1
2021-01-13Fix misspellsAntonin Décimo16-26/+26
Signed-off-by: Antonin Décimo <antonin.decimo@gmail.com>
2021-01-12summary: align left, not align middleEli Schwartz2-7/+11
aligning along the left is, I think, what most projects want to do. Aligning along the middle looks subjectively ugly, and objectively prevents me from further indenting an element, e.g. Build information: prefix : /usr sysconfdir : /etc conf file : /etc/myprogram.conf
2021-01-12Allow '//' as project function id due to git bash path conversion.Luke Elliott2-0/+12
See https://stackoverflow.com/questions/54258996/git-bash-string-parameter-with-at-start-is-being-expanded-to-a-file-path
2021-01-11doc: fix invalid Commands.md example for introspect [skip ci]Eli Schwartz1-1/+1
It requires at least one option argument, and the one that provides "basic information" about the project is --projectinfo, so let's use that to demo the command. Fixes #8182
2021-01-11Add Chicken-Libraries to Users.md (#8180)Michael Brockus1-0/+1
2021-01-10cmake: add PATH logic to preliminary dep check (fixes #8133)Daniel Mensinger1-2/+6
2021-01-10Hotdoc: use template for Commands.md instead of generating the entire file ↵Eli Schwartz2-80/+28
(#8154) * doc: fix hotdoc misuse for dynamically generated content hotdoc has a native include feature for including files inline. Use this to generate one file for each dynamically generated code block, and include that file in Commands.md; see: https://hotdoc.github.io/syntax-extensions.html#smart-file-inclusion-syntax This permits us to move back to using the in-tree version of the hotdoc *.md sources, thus fixing the incorrect inclusion of "builddir/" in the "Edit on github" links which resulted from using copies as the source. Fixes #8061 * doc: call the dummy file a "stamp" as it is a better known term
2021-01-06Merge pull request #7860 from dcbaker/wip/2020-10/rust-moduleJussi Pakkanen7-27/+74
Add a rust module
2021-01-05modules: Add an unstable-rust moduleDylan Baker5-27/+69
Like other language specific modules this module is module for holding rust specific helpers. This commit adds a test() function, which simplifies using rust's internal unittest mechanism. Rust tests are generally placed in the same code files as they are testing, in contrast to languages like C/C++ and python which generally place the tests in separate translation units. For meson this is somewhat problematic from a repetition point of view, as the only changes are generally adding --test, and possibly some dependencies. The rustmod.test() method provides a mechanism to remove the repatition: it takes a rust target, copies it, and then addes the `--test` option, then creates a Test() target with the `rust` protocol. You can pass additional dependencies via the `dependencies` keyword. This all makes for a nice, DRY, test definition.
2021-01-05Fix last mention of Python 3.5. [skip ci]Jussi Pakkanen1-49/+56
2021-01-05mtest: Add support for rust unit testsDylan Baker2-0/+5
Rust has it's own built in unit test format, which is invoked by compiling a rust executable with the `--test` flag to rustc. The tests are then run by simply invoking that binary. They output a custom test format, which this patch adds parsing support for. This means that we can report each subtest in the junit we generate correctly, which should be helpful for orchestration systems like gitlab and jenkins which can parse junit XML.
2021-01-03doc: restore accidentally removed images used in Getting-meson.md [skip ci]Eli Schwartz3-0/+0
Broken in commit 8a11cf357eaae46fd7efbb9993c0bb00e9529a13 Fixes #8148
2020-12-22Add simple start page for beginners. [skip ci]Jussi Pakkanen15-0/+170
2020-12-17Revert "add owl chess in Users.md [skip ci]"Eli Schwartz1-1/+0
This reverts commit 7092efabb5a0488b694418c823463048ddbb310c. No longer exists. See: https://github.com/mesonbuild/meson/pull/7592#issuecomment-747817950
2020-12-15Merge pull request #7902 from bonzini/mtest-build-depends-onlyJussi Pakkanen1-0/+17
mtest: only build what is needed for the tests
2020-12-15docs: Update link to libspng [skip ci]Jean-Michel Gorius1-1/+1
libspng moved from Gitlab to Github. Update the link to point to the new location.
2020-12-14doc: fix typos for doubled words [skip ci]Eli Schwartz1-2/+2
"more more" is one place where we don't need more. Fixes #8097
2020-12-14mtest: only build what is needed for the testsPaolo Bonzini1-0/+17
It is a usual workflow to fix something and retest to see if it is fixed using a particular test. When tests start to become numerous, it becomes time consuming for "meson test" to relink all of them (and in fact rebuild the whole project) where the user has already specified the tests they want to run, as well as the tests' dependencies. Teach meson to be smart and only build what is needed for the test (or suite) that were specified. Fixes: #7473 Related: #7830
2020-12-11CI: Move all remaining jobs from travis-ci to GHAChristoph Reiter2-9/+0
Some changes: * Set HOME to /root, since github mounts its own HOME and 'wine' (because of permissions) and 'dub' (can't find packages) don't like that. * Remove the seccomp option, doesn't seem to be needed.
2020-12-10compilers: add support for c++20/gnu++20Florian Schmaus2-2/+2
Fixes #8084.
2020-12-10pkgconfig: Respect variable ordering when passed as listXavier Claessens1-1/+2
This fix a regression introduced in Meson 0.56.0 when using python 3.5. Also mention in documentation that using a meson dict does not guarantee ordering. Fixes: #8074.
2020-12-10docs: fix "edit on GitHub" linksThomas Weißschuh1-1/+1
2020-12-03Add prelinking support for static libraries.Jussi Pakkanen2-0/+10
2020-11-29Update Vala Preprocessor section in documentation. Closes: #8040 [skip ci]Jerry Casiano1-1/+7
2020-11-24compiler: allow non-built internal dependencies as argumentsPaolo Bonzini1-0/+6
Allow methods on the compiler object to receive internal dependencies, as long as they only specify compiler/linker arguments or other dependencies that satisfy the same requirements. This is useful if you're using internal dependencies to add special "-D" flags such as -DNCURSES_WIDECHAR, -D_XOPEN_SOURCE_EXTENDED or -DGLIB_STATIC_COMPILATION.
2020-11-23add dependency recommendation [skip ci]Michael Brockus1-0/+8
Co-authored-by: Eli Schwartz <eschwartz@archlinux.org>
2020-11-22doc: fix confusing use of "build" as a directory argument [skip ci]Eli Schwartz3-9/+9
In most places, we now refer to "builddir/" which is a lot less likely to make people think it is a subcommand which needs to be used literally. This is a regression since commit 276d342ebaf859dd53e145ead3e98e2cebb360ab due to the existence of new docs which were added later on, using the wrong form.
2020-11-21Handle cmake dependencies which require a specified versionJason Ekstrand2-0/+10
Some CMake packages fail to find at all if no version is specified. This commit adds a cmake_version parameter to dependency() to allow you to specify the requested version.
2020-11-18Merge pull request #7894 from obilaniu/cudaupdatesJussi Pakkanen1-14/+7
Update unstable CUDA Module to support newest toolkits and drivers.
2020-11-18Update Tutorial.md [skip ci]Michael Brockus1-12/+38
2020-11-17Revert "Add thinlto support. Closes #7493."Jussi Pakkanen1-27/+0
This reverts commit 3e6fbde94c1cb8d4e01b7daf0282c315ff0e6c7d.
2020-11-17doc: add much-needed accuracy to pip installation instructions [skip ci]Eli Schwartz1-2/+7
- mention installing from local sources, not PyPI - warn against --user installs, which too often screw up users that then cannot install projects because ~/.local won't be in sudo's PYTHONPATH - advise installing with sudo -- current versions of pip assume --user for you rather than failing with permission errors, which is great unless, like meson, there are compelling reasons to need to install as root