Alberto Aguirre
ccab7d64f4
Add support for @CURRENT_SOURCE_DIR@ in generator arguments
...
Allow users to specify @CURRENT_SOURCE_DIR@ in generator arguments
to specify the current target source directory.
This is useful when creating protobuf generator objects in sub-directories
because protoc will then generate files in the expected location.
Fixes #1622 .
Remove stray semicolon
Update documentation
8 years ago
Niclas Moeslund Overby
1882548f05
Make name_suffix keyword known to binaries
...
Fixes #1728
8 years ago
Quentin Glidic
10c435fabe
mesonintrospect: List all installed files
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
8 years ago
Jon Turney
855715b29e
docs: make project(license:) a separate bullet point
8 years ago
Jussi Pakkanen
e0cf45edf0
Merge pull request #1747 from centricular/run-command-configure-file
...
Some fixes to run_command()
8 years ago
Jussi Pakkanen
8b0d575823
Merge pull request #1705 from floppym/install-shebang2
...
setup.py: install scripts from build_dir
8 years ago
Jussi Pakkanen
87666d105a
Prevent going into the same directory twice via symlinks. Closes #1749 .
8 years ago
Günther Wutz
63c4c54a64
Updated gnome module command
8 years ago
Nirbheek Chauhan
333085160d
run_command: Refactor + improve errors and test
...
Refactor to use ExternalProgram for the command instead of duplicating
that code (badly). Also improve messages to say "or not executable"
when a script/command is not found.
Also allow ExternalPrograms to be passed as arguments to
run_command(). The only thing we're doing by preventing that is
forcing people to use prog.path()
8 years ago
Nirbheek Chauhan
b1df1a2bec
run_command: accept built File objects too
...
The file will always exist by the time run_command() is invoked, so
there is no reason why we should forbid it. Also allow using File
objects as the command to run since strings are also allowed.
8 years ago
Jussi Pakkanen
69c5931a8d
Merge pull request #1657 from QuLogic/ninja-escape
...
ninja: Fix quoting newlines and $
8 years ago
Elliott Sales de Andrade
f9708cf1ba
Add release note about ninja character escaping.
8 years ago
Elliott Sales de Andrade
bbcf0c0550
Serialize CustomTargets with newlines in command.
8 years ago
Elliott Sales de Andrade
abd02b3eae
Add test case for ninja quoting.
8 years ago
Jussi Pakkanen
08d05bd82d
Merge pull request #1738 from mesonbuild/fix1726
...
Strip GCC comments from output before parsing in get_define. Closes #…
8 years ago
Mathieu Duponchelle
ae04624730
Compiler-properties.md: fix typo
8 years ago
Sven Steinbauer
130d75bee5
Fix missing backticks
8 years ago
Elliott Sales de Andrade
7d6c6fe166
Remove extra quoting in swiftc invocation.
8 years ago
Patrick Griffis
60d560b5a7
ninja: Fix quoting newlines and $
8 years ago
Jussi Pakkanen
bae7861c1c
Merge pull request #1722 from whot/doc-fixes
...
fixes for vcs_tag
8 years ago
Jussi Pakkanen
c96557c9ed
Store and print test logs of executed projects.
8 years ago
Nirbheek Chauhan
7dccf0c5ad
compilers: Don't add line comments to pre-processed output
...
We never use preprocessed output anywhere except compiler checks,
so we don't care about the debugging information that it adds.
Just always disable it.
Closes https://github.com/mesonbuild/meson/issues/1726
8 years ago
Nirbheek Chauhan
2b8196a1c8
tests/common/140: Add a test for PR #1738
...
The bug is only encountered with headers in the default compiler
search path, so use zlib.h since that is commonly available.
See: https://github.com/mesonbuild/meson/issues/1726
8 years ago
Nirbheek Chauhan
f14684c5cb
get_define: Add prefix before ifndef block
...
Otherwise the compiler will warn about macros being redefined.
8 years ago
Peter Hutterer
7a3be163cb
Default to project_version() in vcs_tag fallback
8 years ago
Peter Hutterer
4413122676
Check for input and output to exist in vcs_tag
...
Provide a proper error message, rather than the current
"Command cannot have '@INPUT0@', since no input files were specified"
which doesn't actually tell us where things are going wrong.
8 years ago
Peter Hutterer
4378655a39
docs: document additional args for vcs_tag
...
Supported as of 223596d7bf
8 years ago
Peter Hutterer
e982d5118e
docs: clarify that vcs_tag output can be used as source
...
"you should put in your main program" is confusing, "that can be used as
source" is slightly better.
8 years ago
Jussi Pakkanen
11968382a3
Merge pull request #1621 from dcbaker/llvm-dep
...
RFC: Add dependency for LLVM. Fixes #1611
8 years ago
Peter Hutterer
a576791064
Use American English - 'ise' -> 'ize' where applicable
8 years ago
Peter Hutterer
ca924451ac
Use American English: behaviour -> behavior
8 years ago
Chiu Yue Chun
fe85721e7e
Update FAQ.md: meson is not elementary particle
...
meson is a hadron, more specifically, hadrons that consists of a quark and a anti-quark. So, it is a composite particle rather than elementary one.
8 years ago
Dylan Baker
4bee51655b
Add dependency for LLVM. Fixes #1611
...
This adds a depdendncy wrapper for llvm-config based on the wxwidgets
dependency. IT handles libs, version, include dir, and the llvm unique
concept of components. These components are individual pieces of the
LLVM library that may or may not be available depending on the platform.
8 years ago
Dylan Baker
4334c96062
Provide a helpful message when a language is required but not included
...
This happens when building a C project with LLVM, which requires the C++
linker.
8 years ago
Dylan Baker
ad79db8f0a
Add some FIXME comments to wxwidgets dependency.
8 years ago
Dylan Baker
5f1b96a076
docs: Update SharedLibrary vs_module_defs accepts a File object
8 years ago
Jussi Pakkanen
8cb15d728b
Merge pull request #1723 from QuLogic/doc-updates
...
Minor documentation updates
8 years ago
Jussi Pakkanen
108dac5c16
Store extra_files as file objects. Helps with #1686 .
8 years ago
Elliott Sales de Andrade
f9de195d7c
doc: Replace kwarg with keyword argument.
...
This abbreviation is a Python-ism that is not really clear to those out
of the loop.
8 years ago
Elliott Sales de Andrade
40d7704cd5
doc: Use https links wherever possible.
8 years ago
Elliott Sales de Andrade
ac74b76c33
doc: Fix broken Linux binary page.
...
All the dashes were replaced by spaces.
8 years ago
Elliott Sales de Andrade
4ba298613d
doc: Don't use root-prompt in wraptool examples.
...
A `#` is the root-prompt, whereas `$` is the user-prompt.
8 years ago
Elliott Sales de Andrade
f3ad633f55
doc: Fix several minor typos.
8 years ago
Elliott Sales de Andrade
b80d40c287
doc: Capitalize things more consistently.
...
Upper or lower case depending on the official spelling, or the more
consistent usage.
8 years ago
Elliott Sales de Andrade
492e281c0e
doc: Remove duplicate design rationale page.
8 years ago
Jussi Pakkanen
8f49764896
Merge pull request #1717 from valum-framework/fix-descriptions-for-ninja-backend
...
ninjabackend: Use more consistent descriptions
8 years ago
Jussi Pakkanen
0e3aa5a348
Merge pull request #1587 from mesonbuild/tingping/msgfmt-datadir
...
i18n: Improve data_dirs support
8 years ago
Jussi Pakkanen
2bb03f19fd
Merge pull request #1725 from whot/master
...
documentation fixes
8 years ago
Jussi Pakkanen
33b79dcf25
Kill RawFile dead!
8 years ago
Peter Hutterer
276d342eba
docs: replace 'meson build' with 'meson builddir'
...
Clarifies that this is really just a directory, not a command.
https://github.com/mesonbuild/meson/issues/1560
8 years ago