andy5995
ceb70a5c2e
Reference-manual.md:add missing equal sign in "both_libraries" section
...
[skip ci]
2019-06-19 00:03:36 +03:00
Jussi Pakkanen
5ecab57667
Update things for new release.
2019-06-16 22:03:29 +03:00
Francisco Velázquez
288ef0e0e7
Tutorial.md: Improve English [skip ci]
2019-06-16 20:43:55 +03:00
Dylan Baker
15ab1f64f9
modules/python: add a modules keyword argument
...
This mirrors the modules keyword argument that some dependencies (such
as qt and llvm) take. This allows an easier method to determine if
modules are installed.
2019-06-12 14:13:20 +03:00
Dylan Baker
0e23dbec81
docs: compiler objects are returned [skip ci]
...
Not a series problem, but annoys me that that it's in the builtin
section when it's a returned object.
2019-06-10 23:48:27 +03:00
Jussi Pakkanen
6b4b601eaf
Rewrap some doc lines. [skip ci]
2019-06-10 01:46:55 +03:00
Dylan Baker
342767d6c7
docs: Add bzip2 to the Users page
2019-06-08 18:05:44 +03:00
Daniel Mensinger
4abd2e7103
cmake: doc: fixed typos
2019-06-06 18:27:05 +02:00
Daniel Mensinger
438ee6b01d
cmake: updated docs
2019-06-06 18:27:05 +02:00
Daniel Mensinger
35936316eb
cmake: rebase fixes
2019-06-06 18:27:04 +02:00
Daniel Mensinger
6cb904de7b
cmake: Added docs
2019-06-06 18:27:03 +02:00
John Ericson
af2d7af998
Per machine do 'build.' and '' option prefixes
...
See the docs/ changes for details.
2019-06-05 23:05:34 -04:00
Eli Schwartz
5a0fec13b6
doc: fix typo [skip ci]
...
Error introduced in commit 8e403e08ac
2019-05-31 12:31:26 -07:00
Mathieu Duponchelle
12a82e763d
interpreter: add fallback argument to subproject.get_variable()
2019-05-28 20:26:54 +03:00
Dylan Baker
0714ba58c7
coredata: add cmake_prefix_path option
2019-05-27 01:24:08 +03:00
Dylan Baker
0d19d334a8
docs: pkg_config_path is a list not a string
...
You should pass arguments as a list, ie -Dpkg_config_path=/foo,/bar
and meson will join the paths appropriately for you.
2019-05-27 01:24:08 +03:00
Joel Rosdahl
f13e65b93a
Update to new ccache URL
...
ccache’s web site is now located at https://ccache.dev .
Bonus: Use the preferred capitalization “Ccache” instead of “CCache”.
2019-05-27 01:10:57 +03:00
Erik Faye-Lund
9b3592a8ba
docs/Users: update Mesa link [skip ci]
...
Mesa's primary home is now in the Freedesktop GitLab instance. The cgit repo is just a mirror.
2019-05-23 21:21:35 +03:00
Jussi Pakkanen
8e403e08ac
Use library() instead of rolling your own. [skip ci]
2019-05-23 00:45:51 +03:00
Jussi Pakkanen
77a933faca
Merge pull request #5028 from bonzini/sourceset
...
new module "sourceset" to match source file lists against configuration data
2019-05-23 00:01:29 +03:00
Michael Hirsch, Ph.D
44b6ccbe56
join_paths => / [skip ci]
2019-05-22 23:56:50 +03:00
Paolo Bonzini
d894c48660
new module "sourceset" to match source file lists against configuration data
...
In QEMU a single set of source files is built against many different
configurations in order to generate many executable. Each executable
includes a different but overlapping subset of the source files; some
of the files are compiled separately for each output, others are
compiled just once.
Using Makefiles, this is achieved with a complicated mechanism involving
a combination of non-recursive and recursive make; Meson can do better,
but because there are hundreds of such conditional rules, it's important
to keep meson.build files brief and easy to follow. Therefore, this
commit adds a new module to satisfy this use case while preserving
Meson's declarative nature.
Configurations are mapped to a configuration_data object, and a new
"source set" object is used to store all the rules, and then retrieve
the desired set of sources together with their dependencies.
The test case shows how extract_objects can be used to satisfy both
cases, i.e. when the object files are shared across targets and when
they have to be separate. In the real-world case, a project would use
two source set objects for the two cases and then do
"executable(..., sources: ... , objects: ...)". The next commit
adds such an example.
2019-05-22 12:09:09 +02:00
Jussi Pakkanen
e9bd7d49bd
Merge pull request #5372 from dcbaker/get_variable
...
Dependency.get_variable method
2019-05-21 21:57:05 +03:00
Jussi Pakkanen
79d530e325
Generators can have extra target dependencies. Closes #4131 .
2019-05-20 23:38:13 +03:00
Dylan Baker
c890c947fa
fixup! tests: Add test for Dependency.get_variable
2019-05-20 10:41:26 -07:00
Dylan Baker
ffe2a678d5
docs: Add docs for Dependency.get_variable
2019-05-20 10:41:11 -07:00
Szunti
cf662ded46
Fix typo in Dlang-module.md
2019-05-17 15:16:37 -07:00
Jussi Pakkanen
7b8ef78bc0
Merge pull request #5331 from dcbaker/icl
...
ICL (Intel for Windows) support
2019-05-14 00:24:48 +03:00
Nirbheek Chauhan
b849f6f935
FAQ: Add an entry about the library naming scheme with MSVC [skip ci]
...
This is very frequently asked.
2019-05-13 23:24:18 +03:00
Dylan Baker
523c7beefc
docs/markdown: add snippet for intel-cl support
2019-05-13 11:22:31 -07:00
Dylan Baker
be88945ee3
docs/reference-table: Add intel-cl
...
Because the Intel compiler behaves significantly differently on windows
than it does on Linux and MacOS I've decided it would be better to
follow the clang/clang-cl split and make id "intel-cl" on windows
(leaving "intel" alone on Linux and Mac). Since we've never supported
ICL and it hasn't worked in the past I think this is an okay change to
make.
2019-05-13 11:22:31 -07:00
Jussi Pakkanen
1ff6a8b5d5
Add entry for random design points. [skip ci]
2019-05-12 00:30:08 +03:00
Daniel Eklöf
c2ee82cc41
add support for "target_type: 'shared_module'" in build_target()
2019-05-09 22:43:10 +03:00
Jussi Pakkanen
d31db565e1
Add white border to logo used on web pages. [skip ci]
2019-05-05 23:07:49 +03:00
nicole mazzuca
24d5c73b0a
add -fno-exceptions if cpp_eh=none is specified
2019-05-05 21:19:04 +03:00
Amit D
128d313b66
Update Users.md [skip ci] ( #5358 )
2019-05-04 14:59:48 +00:00
Michael Hirsch, Ph.D
06bfc2dab6
per-target manual specification of link_language
2019-05-02 23:26:51 +03:00
Nicole Mazzuca
16463046b1
Add vc++ cpp_std flags to the documentation
2019-05-02 13:23:19 -07:00
Jussi Pakkanen
7059c47aad
Merge pull request #5161 from TheQwertiest/feature/custom_target_link
...
Can link against custom_target[i]
2019-05-02 22:21:56 +03:00
Jussi Pakkanen
ec757492bf
Describe how to add support for new compilers. [skip ci]
2019-05-02 21:58:03 +03:00
TheQwertiest
68a8481a05
Updated docs with information about `custom_target[i]`
2019-04-29 16:07:50 +03:00
Jon Turney
ccc4ce28cc
consistent invalid escape sequence behaviour
...
* docs: document unrecognized escape sequence behaviour [skip ci]
Document that unrecognized escape sequence behaviour is like python, not
C.
* Don't try to decode invalid hex escape sequences
Don't try to decode escape sequences which should contain a sequence of
hex digits, but don't, throwing a python exception. These will treated
literally instead.
* Extend test case to cover invalid escape sequences
2019-04-28 23:06:36 +03:00
Jussi Pakkanen
bbd67bbae9
Rewrap text. [skip ci]
2019-04-24 23:19:13 +03:00
Richard Kjerstadius
ccaa61ec52
doc: Update coverage related documentation
2019-04-24 20:32:19 +02:00
Fernando Ramos
d81dfcba74
Add support for the Xtensa toolchain
...
From (almost) all points of view, the Xtensa toolchain can be treated as
a regular GCC toolchain.
This patch adds very basic support so that, at least, meson does not
fail when trying to use "xt-xcc" (which makes it possible to use it
without problems).
2019-04-22 18:24:47 +03:00
Konstantin
841995cddf
i18n: add args keyword to merge_file
...
* i18n: add args keyword to merge_file
* i18n: add testcase to msgfmt args
2019-04-22 14:54:05 +03:00
Jussi Pakkanen
8dedddca36
Fix table layout. [skip ci]
2019-04-22 00:48:41 +03:00
Vladimír Čunát
e4f3894582
dist: recurse into git submodules
2019-04-21 23:13:01 +03:00
Jussi Pakkanen
91654674f0
Merge pull request #5289 from mesonbuild/fixxpass
...
Report xpass results as failures.
2019-04-21 15:15:19 +03:00
Jussi Pakkanen
dc2044c56d
Report xpass results as failures.
2019-04-21 03:01:04 +03:00
Anton Kochkov
ad0ba6a911
Add VS2019 backend CI and docs.
2019-04-16 00:11:02 +03:00
Eli Schwartz
f5bc0ab44a
fix gpgme support by preferring pkg-config where possible
...
Since gpgme 1.13.0, pkg-config files are available and this is the
preferred way to detect the dependency. Without this, projects that wish
to generate pkg-config files that Requires.private on gpgme, now have
their custom dependency() fallbacks overridden with an incorrect
configtool dependency.
2019-04-15 11:09:49 -07:00
Keefer Rourke
53a7403f10
( #5260 ) link to builtin options in `library()` fn
...
As a newcomer to the Meson build system, I found the documentation of the `library()` function to be a bit misleading. Eventually I found what 'user option' referred to after digging through the docs.
This just adds a link back to the page that describes the options that are referred to in this paragraph.
2019-04-15 20:39:16 +03:00
Dylan Baker
79e925b8f6
docs/fallback-wraptool: wrap to 80 characters
2019-04-14 20:54:38 +03:00
Dylan Baker
68f5bfea62
docs: update fallback wraptool docs [skip ci]
...
Fixes #5229
2019-04-14 20:54:38 +03:00
jrl64
a2d222c383
Update Built-in Option c_std for C17. Closes #4842 .
2019-04-10 23:14:51 +03:00
Dylan Baker
02ff9829c4
docs: Change 0.51 to 0.50.1 [skip ci]
...
Since this is targeting the 0.50.1 bugfix release.
2019-04-10 19:30:18 +03:00
TheQwertiest
52fa6152cd
[docs] Reordered options and fixed a typo [skip ci]
2019-04-10 19:29:25 +03:00
Dylan Baker
67ca2d5bdc
docs: Document pkg_config_path and cross_ options [skip ci]
2019-04-09 16:34:10 +00:00
Daniel Mensinger
d72d98d3af
mintro: removed deprecated --target-files API
2019-04-08 21:06:15 +03:00
Jussi Pakkanen
93f756ec25
Merge pull request #5176 from ao2/add-subproject-foreach-command
...
Add 'meson subprojects foreach' command
2019-04-08 20:42:03 +03:00
Jan Tojnar
e8a688428d
Add gpgme-config support
...
GPGME does not support pkg-config so we need config-tool support if
we do not want projects like Almanah and Seahorse to parse the values
manually.
2019-04-06 22:35:10 +03:00
Andrei Alexeyev
8209180c76
Add shaderc dependency lookup logic
2019-04-02 22:47:10 +03:00
Jussi Pakkanen
75219989ca
Merge pull request #5128 from Ericson2314/sanity-check-with-flags
...
Sanity check with external args
2019-04-02 00:40:05 +03:00
Antonio Ospite
221fb86373
docs: fix typo s/responsability/responsibility/ [skip ci]
2019-04-01 11:51:02 +02:00
Antonio Ospite
e680dbe065
Add 'meson subprojects foreach' command
...
Sometimes it is convenient to run an arbitrary command (e.g. 'git diff')
on all subprojects.
Add a 'meson subprojects foreach' command to take care of that.
For this command the common argument 'subprojects' does not make sense,
so only add '--sourcedir' and cover the case of a missing
options.subprojects in run().
2019-04-01 11:51:02 +02:00
Jussi Pakkanen
5905533fcd
Merge pull request #5103 from mesonbuild/linkcustom
...
Can link against custom targets
2019-04-01 01:29:51 +03:00
Jonatan Pålsson
2a030e33f3
docs: Document when environment() was added ( #5178 ) [skip ci]
...
The environment() function was added in 0.35.0 (which contains a2e7ebc5
,
containing the actual addition)
2019-03-30 09:28:04 +00:00
Dylan Baker
f2d4a32370
dependencies/base: Pass correct arguments to subdependencies
...
Currently InternalDependency.get_partial_dependency shadows the the
input variables names, and then passes those new copies to the final
object returned. It also passes them to the arguments of of
get_partial_dependency for each subdependency, which is wrong. The
code is supposed to proxy the original argumetn values to that instead
of the shadowing values.
To avoid that this patch renames the new values.
2019-03-29 21:27:54 +00:00
TheQwertiest
c0d287c1bf
[Docs] Built-in options page cleanup ( fixes #5165 ) [skip ci]
...
- Added missing universal options.
- Split options in `directories` and `core` groups.
- Sorted alphabetically some of the groups.
- Removed `cross-file` from options, since it's not an option.
2019-03-29 21:44:16 +02:00
Will Thompson
3b7ec01692
docs: correct “It's” to “Its” [skip ci]
2019-03-29 13:33:35 +00:00
Jussi Pakkanen
2259db2683
Add documentation.
2019-03-28 23:11:30 +02:00
John Ericson
8c3d24e9de
release note snippet for user flags in sanity checks [skip ci]
2019-03-27 10:54:56 -04:00
John Ericson
b565eff084
Add release note snippit for CPPFLAGS handing [skip ci]
2019-03-27 14:45:42 +00:00
Dylan Baker
d88bf0eb80
compilers: n_debug=if-release and buildtype=plain should not enable assertions
...
It's a bit odd that it doesn't, and has resulted in bugs in distro
packaging.
Fixes #5141
2019-03-26 22:17:27 +02:00
Jussi Pakkanen
ed5992a10d
Merge pull request #5031 from bonzini/kconfig
...
Kconfig Module
2019-03-20 22:03:47 +02:00
Ross Burton
65e59c84a1
mesonbuild: allow multiple --cross-file options
...
Just like --native-file, allow multiple --cross-file options. This is mostly
unifying the logic between cross_files and config_files.
2019-03-20 10:06:17 +00:00
Jussi Pakkanen
4b95dd3a6d
Add test script to generate a static library with a custom target.
2019-03-18 22:01:06 +02:00
Paolo Bonzini
49076d719c
kconfig: improvements for builddir config file
...
Document best practices for per-builddir config file, and add a test covering
loading a config file from the build directory.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-03-15 11:43:05 +01:00
Mark Schulte
647bd2839e
[modules] Add kconfig module
...
Add a kconfig module to allow meson to integrate with existing projects
that use kconfig.
2019-03-15 11:42:36 +01:00
Kieran Bingham
33af335949
Add libcamera to Users.md [skip ci]
...
Add the libcamera project as a user of Meson.
2019-03-14 23:39:28 +02:00
Michael Hirsch, Ph.D
e491792a95
docs
2019-03-14 02:04:25 -04:00
Tomas Krizek
4adadadb91
docs/Users: add Knot Resolver to projects
2019-03-13 12:51:17 -07:00
Tomas Krizek
9641a3d289
docs/Users: fix sort order (Kiwix libraries)
2019-03-13 12:51:17 -07:00
Niklas Claesson
dd2c44cdf6
Add static as keyword to find_library
2019-03-11 20:56:52 +02:00
Nirbheek Chauhan
a0be869bb9
docs: Typos and formatting in the 0.50 release notes [skip ci]
2019-03-11 21:35:46 +05:30
Thomas DeRensis
86a7d67179
docs: Add missing closing quote [skip ci]
2019-03-11 15:18:31 +00:00
Will Thompson
ca355a79fb
docs: fix typo in link anchor [skip ci]
2019-03-10 20:01:43 +00:00
Jussi Pakkanen
9f48f5fe94
Update everything for new release.
2019-03-10 19:25:09 +02:00
Amit D
2bec1633fc
Update Users.md [skip ci]
2019-03-10 18:46:31 +02:00
Jussi Pakkanen
5a4defadab
Generate release notes from snippets automatically. [skip ci]
2019-03-10 18:40:27 +02:00
Eli Schwartz
311cbf347b
pkgconfig.generate: add FeatureNew and documentation for implict version
...
The documentation for this change was left out of its implementation in
commit b4aee4675a
and was later documented
in commit f831c05b55
as if it had always
existed.
2019-03-09 19:39:51 +02:00
Dylan Baker
e42e19702c
docs: Add snippet for python module path method [skip ci]
...
Which somehow wasn't included in the original pull request.
2019-03-09 19:01:57 +02:00
Dylan Baker
bd6bae0c71
docs: document that the .path() method for Python is new in 0.50 [skip ci]
...
Since this method was not included in 0.46-00.49 we should document that.
2019-03-09 19:01:57 +02:00
Amit D
068217a385
Update Users.md [skip ci]
2019-03-06 22:42:14 +02:00
Jussi Pakkanen
94bb29738e
Merge pull request #4992 from mensinda/rwCLI
...
rewriter: Add a CLI and docs
2019-03-04 17:49:32 +02:00
Daniel Mensinger
17ce9bc0e5
docs: Define sorting in Style-guide.md [skip ci]
2019-03-04 17:49:02 +02:00
Daniel Mensinger
594bf678c7
rewriter: Require '/' for the project ID
2019-03-04 13:00:30 +01:00
Daniel Mensinger
976c136ab6
rewriter: Mark the CLI as experimental
2019-03-04 13:00:30 +01:00
Daniel Mensinger
0a3b91c1c9
rewriter: Mark the info output as experimental
2019-03-04 13:00:30 +01:00
Daniel Mensinger
dd5791309e
rewriter: Document info operation
2019-03-04 13:00:30 +01:00
Daniel Mensinger
e724fd5438
rewriter: Handle duplicate target
2019-03-04 13:00:29 +01:00
Daniel Mensinger
ff5e7eb104
rewriter: Updated docs
2019-03-04 13:00:07 +01:00
Daniel Mensinger
90b557e38a
rewriter: Remove command alias
2019-03-04 13:00:07 +01:00
Daniel Mensinger
1290330894
rewriter: Renamed tgt_{add,rm} --> target_{add,rm}
2019-03-04 13:00:06 +01:00
Daniel Mensinger
c98987c19e
rewriter: Fixed docs.
2019-03-04 13:00:06 +01:00
Daniel Mensinger
eabc35340d
rewriter: Enforce an empty project ID string
2019-03-04 13:00:06 +01:00
Daniel Mensinger
d4fe805a51
rewriter: Added docs
2019-03-04 13:00:06 +01:00
Jussi Pakkanen
81f0eef2df
Add table for dependency method types. [skip ci]
2019-03-04 11:25:50 +02:00
Daniel Mensinger
7074f12644
mintro: Renamed --dependencies --> --scan-dependencies
2019-03-03 23:19:04 +01:00
Daniel Mensinger
f29f854861
Added docs
2019-03-03 23:19:03 +01:00
Paolo Bonzini
91f847d308
mtest: implement TAP parsing
...
This provides an initial support for parsing TAP output. It detects failures
and skipped tests without relying on exit code, as well as early termination
of the test due to an error or a crash.
For now, subtests are not recorded in the TestRun object. However, because the
TAP output goes on stdout, it is printed by --print-errorlogs when a test does
not behave as expected. Handling subtests as TestRuns, and serializing them
to JSON, can be added later.
The parser was written specifically for Meson, and comes with its own
test suite.
Fixes #2923 .
2019-03-02 09:07:54 +01:00
Paolo Bonzini
f2e513791e
mtest: add support for hard errors
...
Hard errors also come from the GNU Automake test protocol. They happen when
e.g., the set-up of a test case scenario fails, or when some
other unexpected or highly undesirable condition is encountered.
TAP will use them for parse errors too. Add them to the exitcode protocol
first.
2019-03-02 09:07:54 +01:00
Paolo Bonzini
4b5cf3f7c5
interpreter: add "protocol" kwarg to test
...
This is the first step towards adding support for TAP.
2019-03-02 09:07:54 +01:00
Daniel Schulte
f0b0bcf86d
mintro: Add subproject_dir to --projectinfo
2019-03-01 23:40:33 +02:00
Daniel Schulte
924cf5e622
mintro: Add name of subproject the target is contained in to --target output
2019-03-01 22:29:52 +02:00
Nicolas Schneider
ded0defc3f
auto generate msvc pch source file if none is provided by the user
2019-03-01 21:50:31 +02:00
Jussi Pakkanen
a322dc534b
Revert "Improve declare_dependency() example in Generating-sources.md [skip ci]"
...
This reverts commit 67a01c8d7f
.
2019-02-28 22:41:06 +02:00
Michael Hirsch, Ph.D
71cffa67fa
add NetCDF
2019-02-28 22:13:38 +02:00
Martin Ejdestig
67a01c8d7f
Improve declare_dependency() example in Generating-sources.md [skip ci]
...
By using private_dir_include() instead of enumerating headers in sources
of declare_dependency. Much more convenient, especially when there are
many headers.
Found out about this by reading #4638 . It is not documented anywhere as
far as I can tell.
2019-02-26 19:19:43 +02:00
emersion
06e939bcbb
docs: compiled() only works with compiler.run() results [skip ci]
2019-02-25 00:21:26 +02:00
Olexa Bilaniuk
104397a429
[skip ci] Update the CUDA module documentation.
2019-02-24 11:01:05 -05:00
Maarten ter Huurne
b4ef257593
Clarify in docs the argument types extract_objects() accepts [skip ci]
2019-02-19 22:42:12 -05:00
Maarten ter Huurne
37a962e90c
Allow File arguments in extract_objects() arguments
...
Passed strings are converted to Files, but passing a File directly
wasn't supported yet.
2019-02-19 10:02:30 -05:00
jml1795
a9e63568fe
Add warning level zero
2019-02-19 00:06:27 +02:00
jml1795
80f16cac8f
Fix console log from generator with multiple output nodes
2019-02-18 22:02:15 +02:00
Jonathan Poelen
f424bdaf33
use compile_args instead of compiler_args [skip ci]
2019-02-18 21:59:10 +02:00
Florian Märkl
43d975ed10
Correct pkg-config method in Qt dependency docs [skip ci]
2019-02-18 21:57:34 +02:00
Michael Hirsch, Ph.D
ebfb09f5d6
Fortran 2008/2018 Coarray support
2019-02-13 21:09:18 +02:00
Jussi Pakkanen
011c77ee22
New logo and license text. Closes #4921 . [skip ci]
2019-02-13 20:45:42 +02:00
Jussi Pakkanen
82e4cb7731
Merge pull request #4743 from dcbaker/native-file-extended
...
Extend native files to store install path information
2019-02-12 20:04:23 +02:00
Jussi Pakkanen
a32f31fdfa
Merge pull request #4826 from mensinda/confDefOpts
...
mconf: Use introspection to print the project default options (fixes #2543 )
2019-02-12 20:00:34 +02:00
Dylan Baker
b5d847e38c
allow paths to be set in the cross file
...
Just like the previous patch, but for cross files
Fixes #1433
2019-02-11 12:50:32 -08:00
Dylan Baker
5b896ed70b
allow setting directory locations in a native file
...
This allows the person running configure (either a developer, user, or
distro maintainer) to keep a configuration of where various kinds of
files should end up.
2019-02-11 12:50:32 -08:00
ericLemanissier
bb3997a39c
fix documentation typo for default_library option [skip ci]
2019-02-08 10:12:26 -08:00
Jussi Pakkanen
849667c981
Fix Cuda doc page heading. [skip ci]
2019-02-07 11:09:44 +02:00
Michael Hirsch, Ph.D
70e6f4198c
Fortran 2008 submodule ( #4874 )
2019-02-05 22:41:44 +01:00
Jussi Pakkanen
e26b5a119e
Merge pull request #4835 from obilaniu/cudaimprovements
...
CUDA support improvements
2019-02-04 20:33:26 +01:00
Olexa Bilaniuk
592af0b1af
Add unstable CUDA module.
...
Includes three general utility functions connected to CUDA, in
particular the crafting of -gencode flags as done in CMake:
https://github.com/Kitware/CMake/blob/master/Modules/FindCUDA/
select_compute_arch.cmake
2019-02-02 22:49:02 -05:00
Daniel Mensinger
e1a83793ae
CMake: Added support for CMAKE_MODULE_PATH and extra CMake args ( closes #4779 )
2019-02-01 00:25:21 +02:00
Michael Hirsch, Ph.D
1ebaeadf60
initial HDF5 pkg-config fortran works
2019-01-30 06:38:29 -05:00
Jan Tojnar
33d82201bd
run_command: add env kwarg
2019-01-27 19:24:15 +02:00
Sergey Shatunov
c07e5124bc
Add install_dir to i18n.gettext
2019-01-26 23:29:05 +02:00
Daniel Mensinger
90bc125d29
mconf: Use introspection to print the project default options ( fixes #2543 )
2019-01-25 12:21:32 +01:00
Daniel Mensinger
ded59c0819
Fixed spelling [skip ci]
2019-01-24 23:03:05 +02:00
Jussi Pakkanen
43147c2594
Add release note snippet.
2019-01-22 00:02:25 +02:00
Michael Hirsch, Ph.D
72486afd08
Add PGI C and C++ compilers ( #4803 )
2019-01-21 20:09:36 +02:00
Alistair Thomas
20248fa919
docs: update URI for vala-extra-vapis repository [skip ci]
2019-01-20 23:28:45 +02:00
Shubham Lagwankar
37533360d7
Remove stray bracket [skip ci]
2019-01-20 23:24:28 +02:00
Hugo Locurcio
3804172d61
docs: Use modern shell constructs [skip ci]
2019-01-20 23:09:05 +02:00
Jussi Pakkanen
57424e9403
Merge pull request #4792 from scivision/flang
...
Flang Fortran compiler added.
2019-01-17 22:21:45 +02:00
Michael Hirsch, Ph.D
5c00751515
doc
2019-01-17 15:12:02 -05:00
David Fort
ceaebf6bac
add support for generating cmake files
...
This new cmake module allows to generate cmake package files. This may ease the
porting for cmake projects that are exporting cmake package informations for other
depending projects. The module uses as much as possible the templates provided by
the cmake installation (and so cmake needs to be installed).
2019-01-17 20:48:28 +02:00
Luca Boccassi
267792174c
custom_target: do not let install override build_by_default
...
A custom_target, if install is set to true, will always be built by
default even if build_by_default is explicitly set to false.
Ensure that this does not happen if it's set explicitly. To keep
backward compatibility, if build_by_default is not set explicitly and
install is true, set build_by_default to true.
Fixes #4107
2019-01-17 20:40:19 +02:00
Michael Hirsch, Ph.D
b40c1af900
Flang Fortran compiler added.
2019-01-16 17:06:43 -05:00
Alistair Thomas
2f72d4db09
docs: Explain how to use a Vala project's VAPI files with find_library() [skip ci]
...
The Vala compiler object's find_libary() method needs the 'dir' keyword to
add a project's local vapi dir to the VAPI search path.
See https://github.com/mesonbuild/meson/issues/4702
2019-01-15 21:47:17 +02:00
Daniel Mensinger
609ecba37f
mintro: Added `defined_in` key in the targets introspection
2019-01-15 20:28:12 +02:00
Marco Trevisan (Treviño)
95c1cdf776
interpreter: obey to the install argument in configure_file
...
If a configure_file has an install_dir set, the supported install
argument is ignored, while this should have actually higher priority
than the install_dir itself.
Also check that correct types are used for `install` and `install_dir`.
Add test to verify this.
Fixes #3983
2019-01-13 19:51:31 +02:00
Jussi Pakkanen
49557e15ec
Merge pull request #4731 from mensinda/introBreak2
...
mintro: Changes to the introspection API
2019-01-13 19:50:10 +02:00
Jussi Pakkanen
fa562d8100
Merge pull request #4744 from dcbaker/docs-cflags
...
Discourage the use of env variables like CFLAGS [skip ci]
2019-01-10 23:05:57 +02:00
Jussi Pakkanen
9223ffdc11
Merge pull request #4748 from astavale/running-meson-docs
...
docs: update 'Running Meson' page to show Meson's setup command [skip…
2019-01-10 23:02:01 +02:00
Alistair Thomas
1b9e00f506
docs: update RunningMeson.md to show Meson's setup command [skip ci]
2019-01-10 11:34:18 +00:00
Ethan R
530aec0bbe
Added Rust to supported languages for project() ( #4750 ) [skip ci]
2019-01-09 23:46:38 +05:30
Alistair Thomas
fb05733983
docs: Change sub-headings in Running-Meson.md from == to ## [skip ci]
2019-01-09 18:15:57 +00:00
Alistair Thomas
55e6d3c35e
docs: Re-wrap Running-Meson.md from 70 to 80 columns [skip ci]
2019-01-09 18:15:57 +00:00
Alex Băluț
8f24d34e31
Fix links to reference manual
2019-01-09 09:11:58 -08:00
Dylan Baker
724c97ef4e
docs: recommend add_project_arguments instead of add_global_arguments [skip ci]
...
As autotools doesn't have anything like wraps so it doesn't need to
differentiate, but meson does so it should.
2019-01-08 11:40:27 -08:00
Dylan Baker
bc0bcc37f6
docs: don't recommend using CFLAGS [skip ci]
2019-01-08 11:40:25 -08:00
Dylan Baker
4a8e8b7103
docs: further specify that CFLAGS and friends are only for distro packagers [skip ci]
2019-01-08 11:40:25 -08:00
Dylan Baker
c1b01d54c2
docs: Add link args to the table of language args [skip ci]
2019-01-08 11:40:25 -08:00
Dylan Baker
1404f404f8
docs: document that using environment variables is discouraged [skip ci]
2019-01-08 11:40:25 -08:00
Daniel Mensinger
5c139032b8
Deprecated --target-files API
2019-01-07 22:35:56 +01:00
Daniel Mensinger
1c92b7d225
Added release snippet
2019-01-07 22:26:09 +01:00
Jussi Pakkanen
3bf2ca483e
Merge pull request #4732 from mensinda/introMesonInfo2
...
mintro: Added `meson-info.json` introspection information about the latest meson run
2019-01-07 23:10:22 +02:00
Dylan Baker
6c76b92dff
docs: document the native keyword argument for reference-manule [skip ci]
2019-01-07 22:56:17 +02:00
Daniel Mensinger
7ec609425a
Added release snippet
2019-01-06 22:03:40 +01:00
FlyingPiMonster
f658107a0e
docs: An error in an external link has been fixed [skip ci]
2019-01-06 23:02:14 +02:00
Daniel Mensinger
52071c6d4e
Fixed missing dots [skip ci]
2019-01-06 12:19:35 +01:00
Daniel Mensinger
0b0ec5895c
Fixed typo [skip ci]
2019-01-06 12:19:35 +01:00
Daniel Mensinger
bcb8146280
Indent flag only toggles
2019-01-06 12:19:35 +01:00
Daniel Mensinger
428f85e860
Updated the docs [skip ci]
2019-01-06 12:19:34 +01:00
Daniel Mensinger
bd8bad46c3
Code cleanup and renamed variables
2019-01-06 12:19:33 +01:00
textshell
248adbab9a
Update docs/markdown/snippets/introspect_multiple.md
...
Co-Authored-By: mensinda <daniel@mensinger-ka.de>
2019-01-06 12:19:33 +01:00
textshell
fb4bdd3330
Update docs/markdown/IDE-integration.md
...
Co-Authored-By: mensinda <daniel@mensinger-ka.de>
2019-01-06 12:19:32 +01:00
textshell
1e374feb1c
Update docs/markdown/IDE-integration.md
...
Co-Authored-By: mensinda <daniel@mensinger-ka.de>
2019-01-06 12:19:32 +01:00
Daniel Mensinger
02734cc5c3
Better documentation
2019-01-06 12:19:31 +01:00
Daniel Mensinger
84948ea6cd
Renamed `--force-new` to `--force-dict-output`
2019-01-06 12:19:31 +01:00
Daniel Mensinger
5c39dd0668
Doc updates and throw if no target type is set
2019-01-06 12:19:31 +01:00
Daniel Mensinger
1268597df5
Slight modification of the wording
2019-01-06 12:19:31 +01:00
Daniel Mensinger
2e81631d0c
Keep 'filename' and 'install_filename' as strings
2019-01-06 12:19:31 +01:00
textshell
7cf0e30707
Update docs/markdown/IDE-integration.md
...
Co-Authored-By: mensinda <daniel@mensinger-ka.de>
2019-01-06 12:19:31 +01:00
textshell
c1838d9e4c
Update docs/markdown/snippets/introspect_multiple.md
...
Co-Authored-By: mensinda <daniel@mensinger-ka.de>
2019-01-06 12:19:30 +01:00
textshell
eb2cc9eccd
Update docs/markdown/snippets/introspect_multiple.md
...
Co-Authored-By: mensinda <daniel@mensinger-ka.de>
2019-01-06 12:19:30 +01:00
Daniel Mensinger
fde10eaee9
Updated the docs
2019-01-06 12:19:30 +01:00
Daniel Mensinger
b9c4913cf0
Updated documentation
2019-01-06 12:19:30 +01:00
Daniel Mensinger
b11df88395
Documentation and unit test update
2019-01-06 12:19:29 +01:00
Daniel Mensinger
b034f52656
Filenames are now lists
2019-01-06 12:19:29 +01:00
Daniel Mensinger
b91c5aad85
Update intro dump on meson configure
2019-01-06 12:19:29 +01:00
Daniel Mensinger
8288555aa1
mintro: Added option to introspect multiple parameters at once
2019-01-06 12:15:10 +01:00
Daniel Mensinger
80ee0f85f9
Added release snippet
2019-01-06 12:15:09 +01:00
Jussi Pakkanen
3a6e2aeed9
Can use plain strings for include_directories.
2019-01-02 22:29:08 +02:00
Jussi Pakkanen
8c9fcb1fea
Merge pull request #4564 from mensinda/introBuildOpts
...
mintro: Introspect --buildoptions without a build directory
2019-01-01 19:27:41 +02:00
Daniel Mensinger
98115bb261
Updated doc [skip ci]
2019-01-01 18:23:40 +01:00
TingPing
d25146ffc0
docs: Note --warnlevel instead of --warning_level
2018-12-31 21:46:58 -05:00
TingPing
4aeba8214f
docs: Change warnlevel option to warning_level
2018-12-31 21:34:26 -05:00
Daniel Mensinger
e5099357c2
Tests and docs
2018-12-29 23:56:21 +01:00
Jussi Pakkanen
da5da5977a
Default libdir is "lib" when cross compiling. Closes #2535 .
2018-12-30 00:51:19 +02:00
Jussi Pakkanen
1fca654055
Add a clang-format target.
2018-12-30 00:50:00 +02:00
Jussi Pakkanen
3b495c397e
Merge pull request #4672 from xclaesse/find-library-headers
...
find_library: Add 'has_headers' kwarg
2018-12-29 18:57:21 +02:00
Xavier Claessens
b6cede2928
find_library: Add 'has_headers' kwarg
...
A library without its headers is often useless, so it is common to check
them together.
2018-12-27 23:06:28 -05:00
Nirbheek Chauhan
c4a6b193d4
release notes: document how to pass native files [skip ci]
2018-12-27 01:04:05 +05:30
Xavier Claessens
ff2aa5a9ef
Add 'required' kwarg in header check functions
...
Closes : #3940
2018-12-24 11:12:11 -05:00
Jussi Pakkanen
4df9006ca4
Can specify a string to print when dep not found. Closes #2407 .
2018-12-22 19:00:40 +02:00
lzutao
39483d29c4
docs: Fix href in Pkgconfig module [skip ci]
2018-12-22 13:55:14 +02:00
Alistair Thomas
d54daf6e59
docs: make clearer difference between using and building libraries in Vala [skip ci]
2018-12-19 23:16:59 +02:00
Dylan Baker
05fc81ac35
docs: Add warning about not using join_paths() with build targets [skip ci]
...
This comes up now and again when people try do do something like:
meson.build:
```meson
my_sources = ['foo.c']
subdir('subdir')
executable('foo', my_sources)
```
subdir/meson.build:
```meson
my_sources += ['bar.c']
```
2018-12-19 01:25:17 +02:00
Konstantin Kharlamov
f7d2e7c5d5
[skip ci] Options as `b_ndebug` can also be set in meson.build
2018-12-18 10:27:52 -08:00
Nirbheek Chauhan
d42a3ae05f
Document dependency().name() added in 0.48 [skip ci]
...
Closes https://github.com/mesonbuild/meson/issues/3351
2018-12-17 21:03:57 +05:30
Luca Weiss
41bca1ede9
Fix typo in Native-environments.md [skip ci]
2018-12-16 16:44:35 +02:00
Lzu Tao
0c33c7ca8a
Add note for install_man in Reference-manual [skip ci]
2018-12-16 16:42:50 +02:00
lzutao
c208e81e1a
Format Compiler and linker flag table [skip ci]
2018-12-13 11:22:02 -05:00
Nirbheek Chauhan
99e77cf48d
docs: Consistently use the same heading level in release notes [skip ci]
...
Otherwise some headings are much too large.
2018-12-13 20:06:31 +05:30
Jussi Pakkanen
131459bd05
Add Renesas RL78 CPU family. Closes #4606 .
2018-12-11 20:56:35 +02:00
Simon Arlott
f77ead26eb
docs: build_always_stale was added in 0.47 [skip ci]
2018-12-10 20:21:55 +02:00
Jon Turney
2df39c398d
Add a missing newline in release note [skip ci]
2018-12-10 15:36:54 +00:00
Jussi Pakkanen
51aaa15bda
Update everything for release 0.49.0
2018-12-09 21:58:12 +02:00
Dylan Baker
46f3b8f753
docs: fix link to platform install quirks [skip ci]
...
Fixes #4571
2018-12-05 17:57:04 +00:00
Nirbheek Chauhan
5f8aedfa8b
Fix typos in kwargdict snippet [skip ci]
2018-12-05 08:20:09 +05:30
Nirbheek Chauhan
55d79a6ba2
docs: Misc syntax fixes and missing links [skip ci]
2018-12-05 02:40:34 +00:00
Nirbheek Chauhan
c502ddfebf
docs: Document subproject(... required: false) [skip ci]
...
Somehow this was missed in the original PR #3885
2018-12-05 02:40:34 +00:00
Nirbheek Chauhan
febd3e8524
Document how to declare fallback-only dependencies [skip ci]
2018-12-05 07:44:27 +05:30
Jussi Pakkanen
58b838a80b
Can specify keyword arguments with a dict.
2018-12-04 23:44:17 +02:00
Xavier Claessens
8612f1543f
pkgconfig: Improve and document generator behaviour
...
- Add libraries from InternalDependency.libraries
- Deprecate association of libraries from the "libraries" keyword
argument to the generated pkg-config file.
2018-12-04 06:49:02 -05:00
Xavier Claessens
2efedf80e0
Add documentation for 'meson subprojects' command line
2018-12-02 08:37:32 -05:00
Jussi Pakkanen
d272f23dba
Merge pull request #4569 from lzutao/readme
...
Add link to built-in options page
2018-12-01 23:17:48 +02:00
Lzu Tao
4bd0243daf
Update sample output of meson configure [skip ci]
2018-12-01 22:08:24 +02:00
Lzu Tao
2a23dd8bb0
Add link to built-in options page [skip ci]
2018-11-30 18:00:32 +07:00
lzutao
0c23e65457
Add meson version required to use option type ( #4562 ) [skip ci]
2018-11-30 00:11:06 +05:30
Jon Turney
d502e83493
docs: Remove mention of appveyor from Contributing doc
...
Add mention of azure
Also fix anchor in travis URL
Also make 'see below' into a link
2018-11-28 11:14:46 +02:00
Daniel Schulte
0e62193730
mintro: Allow introspect --projectinfo without build directory.
...
This variant was added to allow introspection before configuring a build
directory. This is useful for IDE integration to allow displaying and/or
setting options for the initial configuration of the build directory.
It also allows showing basic information about the project even if it's
not yet configured or configuring failed.
The project 'name' field in --projectinfo is used inconsistently:
For the top level project it always shows the name configured in
the top level meson.build file. For subprojects it's referring to the
name of the directory the subproject's meson.build is contained in.
To have a consistent output and preserve the existing behavior this adds
the 'descriptive_name' field which always shows the name set in the
project.
To be consistent the 'descriptive_name' field was also added to the
--projectfiles variant that uses an already configured build.
It also extends the information shown with the list of buildsystem-files.
This is currently only implemented in the variant for unconfigured
projects.
2018-11-26 23:12:00 +01:00
Daniel Mensinger
ceb5e9f042
Updated docs [skip ci]
2018-11-24 11:19:13 +01:00
Floris Bruynooghe
e629a4ad1d
[skip ci] Document CFLAGS and friends in main docs
...
Currently this is only partially documented in the quick-start guide,
include this in the main docs and document all the environment
argumens used.
2018-11-22 22:31:19 +02:00
Daniel Mensinger
a0175ecb14
CMake find_package dependency backend ( #4444 )
2018-11-22 22:30:12 +02:00
Jon Turney
8b88fb990e
docs: Alphabetically sort reference table rows [skip ci]
2018-11-22 22:28:21 +02:00
Jon Turney
e72a2b2260
docs: Add clang-cl to reference table for compiler get_id() values [skip ci]
2018-11-22 22:28:21 +02:00
Iñigo Martínez
e78fd7e8c5
docs: Add missing `namespace` parameter documentation [skip ci]
...
Although the `namespace` parameter was implemented in 0.37, its
documentation is still missing.
It has been added to the `gtkdoc`'s documentation.
2018-11-20 22:50:21 +02:00
Jussi Pakkanen
a2a96bda74
Add piter.py conference to video page. [skip ci]
2018-11-17 02:31:27 +02:00
Dylan Baker
0ab27add49
docs: Add documentation for Native Files
2018-11-14 15:57:37 -08:00
Mathieu Duponchelle
979a14596d
docs: fix hard links [skip ci]
2018-11-12 20:59:19 +02:00
Nirbheek Chauhan
f831c05b55
docs: Clarify some pkgconfig module kwargs [skip ci]
2018-11-12 17:20:45 +05:30