diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-01-08 11:39:06 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-01-08 11:40:27 -0800 |
commit | 724c97ef4e8b921dfa7dd76f86efd1d0305723c5 (patch) | |
tree | 36002e9294d82aad2760c0ac66770260ad06ea5e | |
parent | bc0bcc37f60793f210eac1d70c27adf81230a73c (diff) | |
download | meson-724c97ef4e8b921dfa7dd76f86efd1d0305723c5.zip meson-724c97ef4e8b921dfa7dd76f86efd1d0305723c5.tar.gz meson-724c97ef4e8b921dfa7dd76f86efd1d0305723c5.tar.bz2 |
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.
-rw-r--r-- | docs/markdown/Porting-from-autotools.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/markdown/Porting-from-autotools.md b/docs/markdown/Porting-from-autotools.md index 5c4c35d..b60ecfe 100644 --- a/docs/markdown/Porting-from-autotools.md +++ b/docs/markdown/Porting-from-autotools.md @@ -450,9 +450,9 @@ AM_CPPFLAGS = \ `meson.build`: ```meson -add_global_arguments('-DG_LOG_DOMAIN="As"', language : 'c') -add_global_arguments('-DAS_COMPILATION', language : 'c') -add_global_arguments('-DLOCALSTATEDIR="/var"', language : 'c') +add_project_arguments('-DG_LOG_DOMAIN="As"', language : 'c') +add_project_arguments('-DAS_COMPILATION', language : 'c') +add_project_arguments('-DLOCALSTATEDIR="/var"', language : 'c') ``` ### Tests |