diff options
| author | ruki <waruqi@gmail.com> | 2019-06-23 22:23:22 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2019-06-23 22:23:22 +0800 |
| commit | a7d62ad08dae85079662b87879b83761a78d1c7b (patch) | |
| tree | 7064149a5838dd8f907cc61cf0152e8f636d3cfb /manual/project_target.md | |
| parent | 18487fe95c223140e103a6d8c60813fc9d512f2b (diff) | |
| download | xmake-docs-a7d62ad08dae85079662b87879b83761a78d1c7b.tar.gz xmake-docs-a7d62ad08dae85079662b87879b83761a78d1c7b.zip | |
remove some deprecated apis
Diffstat (limited to 'manual/project_target.md')
| -rw-r--r-- | manual/project_target.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/project_target.md b/manual/project_target.md index 59d4863a..f1ca3703 100644 --- a/manual/project_target.md +++ b/manual/project_target.md @@ -2230,7 +2230,7 @@ option("foo") target("test") add_configfiles("config.h.in") - -- If the foo option is enabled -> Tianjian FOO_ENABLE and FOO_STRING definitions + -- If the foo option is enabled -> Add FOO_ENABLE and FOO_STRING definitions add_options("foo") ``` @@ -2250,7 +2250,7 @@ Config.h Regarding the option option detection, and the automatic generation of config.h, there are some helper functions, you can look at it: https://github.com/xmake-io/xmake/issues/342 -In addition to `#define`, if you want to other non-##defIne xxx` also performs state switching processing. You can use the `${default xxx 0}` mode to set default values, for example: +In addition to `#define`, if you want to other non`#define xxx` also performs state switching processing. You can use the `${default xxx 0}` mode to set default values, for example: ``` HAVE_SSE2 equ ${default VAR_HAVE_SSE2 0} |
