Mods to allow building src/app tree with hunter managed acf build via the magic of GIT_SELF. Some library layout changes are required to keep private and public acf headers separate.
The util (and io) directory contains utility classes/functions used by the acf library. In this context they are effectively non-exported == private headers. They are also used as a support lib in the various console apps and unit tests within the repository.
The util directory sits parallel with the root acf folder so that the target_include_directories() calls can include util headers without automatically including acf headers from the repository tree, as we want to make sure the acf folder includes can be provided exclusively from the the installed/managed acf package, using:
Mods to allow building src/app tree with hunter managed acf build via the magic of GIT_SELF. Some library layout changes are required to keep private and public acf headers separate.
The util (and io) directory contains utility classes/functions used by the acf library. In this context they are effectively non-exported == private headers. They are also used as a support lib in the various console apps and unit tests within the repository.
The util directory sits parallel with the root acf folder so that the target_include_directories() calls can include util headers without automatically including acf headers from the repository tree, as we want to make sure the acf folder includes can be provided exclusively from the the installed/managed acf package, using:
Layout:
Example src/app/acf/acf.cpp: