▄▄▄▄ ▒█████ ▄▄▄█████▓▄▄▄█████▓ ██▓ ▓█████ ▓█████▄ ▒██▒ ██▒▓ ██▒ ▓▒▓ ██▒ ▓▒▓██▒ ▓█ ▀ ▒██▒ ▄██▒██░ ██▒▒ ▓██░ ▒░▒ ▓██░ ▒░▒██░ ▒███ ▒██░█▀ ▒██ ██░░ ▓██▓ ░ ░ ▓██▓ ░ ▒██░ ▒▓█ ▄ ░▓█ ▀█▓░ ████▓▒░ ▒██▒ ░ ▒██▒ ░ ░██████▒░▒████▒ ░▒▓███▀▒░ ▒░▒░▒░ ▒ ░░ ▒ ░░ ░ ▒░▓ ░░░ ▒░ ░ ▒░▒ ░ ░ ▒ ▒░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
Command | Arguments | Explanation |
---|---|---|
|
|
Add a package target for the current directory with Create a interface library named as All other library targets in the same package will be linked to this package except for those marked as |
|
|
Add a library target with the given Create a shared/interface library named as Link this target to the current package |
|
|
Add a binary target with the given Create an executable named as |
|
|
Add a proto target with the given Same with Make sure a |
|
|
Add subdirectory named as Same with |
|
|
A helper command to expand a dependency |
-
Prefix
@
is used to mark external targets of current project.@TARGET
expands to${PROJECT_NAME}+deps+TARGET
-
Prefix
///
is used to mark packages/targets built with other projects.///PROJECT:PACKAGE[:TARGET]
expands toPROJECT+PACKAGE[+TARGET]
-
Prefix
//
is used to mark packages/targets of current projects.//PACKAGE[:TARGET]
expands to${PROJECT_NAME}+PACKAGE[+TARGET]
-
Prefix
:
is used to mark targets within current package.Prefix
/
is used to mark subpackages/targets within current package.-
:TARGET
expands to${PROJECT_NAME}+PACKAGE+TARGET
. -
/SUBPACKAGE[:TARGET]
expands to${PROJECT_NAME}+PACKAGE.SUBPACKAGE[+TARGET]
.
-