IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst 812 B

1234567891011121314151617181920212223242526272829303132
  1. IMPLICIT_DEPENDS_INCLUDE_TRANSFORM
  2. ----------------------------------
  3. Specify #include line transforms for dependencies in a target.
  4. This property specifies rules to transform macro-like #include lines
  5. during implicit dependency scanning of C and C++ source files. The
  6. list of rules must be semicolon-separated with each entry of the form
  7. "A_MACRO(%)=value-with-%" (the % must be literal). During dependency
  8. scanning occurrences of A_MACRO(...) on #include lines will be
  9. replaced by the value given with the macro argument substituted for
  10. '%'. For example, the entry
  11. ::
  12. MYDIR(%)=<mydir/%>
  13. will convert lines of the form
  14. ::
  15. #include MYDIR(myheader.h)
  16. to
  17. ::
  18. #include <mydir/myheader.h>
  19. allowing the dependency to be followed.
  20. This property applies to sources in the target on which it is set.