|
|
@@ -294,7 +294,7 @@ $ xmake install [-a|--all]
|
|
|
|
|
|
### Set configuration options
|
|
|
|
|
|
-Add option dependencies. If you have customized some options through the [option](#option) interface, you can add associations only if you specify this option under the target target field.
|
|
|
+Add option dependencies. If you have customized some options through the [option](/api/description/configuration-option#option) interface, you can add associations only if you specify this option under the target target field.
|
|
|
|
|
|
```lua
|
|
|
-- Define a hello option
|
|
|
@@ -309,7 +309,7 @@ target("test")
|
|
|
```
|
|
|
|
|
|
:::tip NOTE
|
|
|
-Some settings defined in [option](#option) will affect this `target` target only after calling `set_options` for the association to take effect, such as macro definitions, link libraries, compile options, etc.
|
|
|
+Some settings defined in [option](/api/description/configuration-option#option) will affect this `target` target only after calling `set_options` for the association to take effect, such as macro definitions, link libraries, compile options, etc.
|
|
|
:::
|
|
|
|
|
|
## set_symbols
|
|
|
@@ -3142,7 +3142,7 @@ target("test6")
|
|
|
|
|
|
The effect of the generated VS project directory structure is as follows:
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
For more details, please see: [#1026](https://github.com/xmake-io/xmake/issues/1026)
|
|
|
|
|
|
@@ -3207,7 +3207,7 @@ target("test")
|
|
|
add_files("... /... /... /... /src/**.cpp")
|
|
|
```
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
Two main presentation modes are currently supported.
|
|
|
|
|
|
@@ -3225,7 +3225,7 @@ target("test")
|
|
|
add_filegroups("group1/group2", {rootdir = "... /... /... /... /"})
|
|
|
```
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
#### Set the group and specifies the file matching pattern
|
|
|
@@ -3248,7 +3248,7 @@ target("test")
|
|
|
add_filegroups("group1/group2", {rootdir = "... /... /... /... /", mode = "plain"})
|
|
|
```
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
## set_exceptions
|
|
|
|
|
|
@@ -3460,11 +3460,11 @@ running tests ...
|
|
|
80% tests passed, 7 tests failed out of 36, spent 0.242s
|
|
|
```
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
We can also execute `xmake test -vD` to view detailed test failure error messages:
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
#### Run the specified test target
|
|
|
|