targetincludedirectories
TargetIncludeDirectories is a CMake command used to add directories to the include search path for a specific target. When you compile source files that belong to a particular target, CMake uses this command to tell the compiler where to look for header files. This is crucial for managing dependencies and ensuring that your code can find the necessary header files, especially when dealing with libraries or modules that are not in the standard system include paths.
The basic syntax is target_include_directories(target [PUBLIC|PRIVATE|INTERFACE] directory1 [directory2 ...]). The target is the name of the CMake