In the documentation i see reference to a thing name ‘head’ target. What is the definition of a head target? For example if my project only contains one target executable and many libs is the exe target the head target? If so can i get this ‘head’ as variable?
For example in the documentation i found it referenced like below:
"$<COMPILE_FEATURES:features>
where features is a comma-separated list. Evaluates to 1 if all of the features are available for the ‘head’ target, and 0 otherwise. If this expression is used while evaluating the link implementation of a target and if any dependency transitively increases the required C_STANDARD or CXX_STANDARD for the ‘head’ target, an error is reported. See the cmake-compile-features(7) manual for information on compile features and a list of supported compilers."
"$<TARGET_POLICY:policy>
1 if the policy was NEW when the ‘head’ target was created, else 0. If the policy was not set, the warning message for the policy will be emitted. This generator expression only works for a subset of policies."