From 724c97ef4e8b921dfa7dd76f86efd1d0305723c5 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 8 Jan 2019 11:39:06 -0800 Subject: 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. --- docs/markdown/Porting-from-autotools.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/markdown') 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 -- cgit v1.1