parent
cd8687782b
commit
2504ffe8c3
|
@ -54,16 +54,15 @@ public:
|
||||||
return
|
return
|
||||||
" DEFINE_PROPERTY(property_name scope_value\n"
|
" DEFINE_PROPERTY(property_name scope_value\n"
|
||||||
" short_description\n"
|
" short_description\n"
|
||||||
" full_description chain)\n"
|
" full_description inherit)\n"
|
||||||
"Define a property for a scope. The scope_value is either GLOBAL "
|
"Define a property for a scope. scope_value is either GLOBAL, "
|
||||||
"DIRECTORY, TARGET, TEST, SOURCE_FILE, VARIABLE, CACHED_VARIABLE. "
|
"DIRECTORY, TARGET, TEST, SOURCE_FILE, VARIABLE or CACHED_VARIABLE. "
|
||||||
"The short and full "
|
"The short and full descriptions are used to document the property. "
|
||||||
"descriptions are used to document the property, chain indicates "
|
"If inherit is TRUE, it will inherit its value from the next more "
|
||||||
"if that property chains such that a request for the property "
|
"global property if it hasn't been set at the specified scope. "
|
||||||
"on a target will chain up to the directory if it is not set on the "
|
"This means that e.g. a TARGET property inherits it's value from the "
|
||||||
"target. In such cases the property's scope is the most specific. "
|
"DIRECTORY property with the same name if it hasn't been set for the "
|
||||||
"In that example the scope would be TARGET even though it can "
|
"target, and then from GLOBAL if it hasn't been set for the directory."
|
||||||
"chain up to DIRECTORY and GLOBAL."
|
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ public:
|
||||||
{
|
{
|
||||||
return
|
return
|
||||||
" GET_PROPERTY(VAR scope_value property)\n"
|
" GET_PROPERTY(VAR scope_value property)\n"
|
||||||
"Get a property from cmake. The scope_value is either GLOBAL "
|
"Get a property from cmake. The scope_value is either GLOBAL, "
|
||||||
"DIRECTORY dir_name, TARGET tgt_name, SOURCE_FILE src_name, "
|
"DIRECTORY dir_name, TARGET tgt_name, SOURCE_FILE src_name, "
|
||||||
"or TEST test_name. The resulting value is "
|
"or TEST test_name. The resulting value is "
|
||||||
"stored in the variable VAR. If the property is not found, "
|
"stored in the variable VAR. If the property is not found, "
|
||||||
|
|
|
@ -55,7 +55,7 @@ public:
|
||||||
" SET_PROPERTIES(scope_value\n"
|
" SET_PROPERTIES(scope_value\n"
|
||||||
" PROPERTIES prop1 value1\n"
|
" PROPERTIES prop1 value1\n"
|
||||||
" prop2 value2 ...)\n"
|
" prop2 value2 ...)\n"
|
||||||
"Set properties on something. The scope_value is either GLOBAL "
|
"Set properties on something. The scope_value is either GLOBAL, "
|
||||||
"DIRECTORY dir_name, TARGET tgt_name, SOURCE_FILE src_name, "
|
"DIRECTORY dir_name, TARGET tgt_name, SOURCE_FILE src_name, "
|
||||||
"or TEST test_name."
|
"or TEST test_name."
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue