target_include_directories()
target_include_directories
Add include directories to a target.
target_include_directories(<target> [SYSTEM] [BEFORE] <INTERFACE|PUBLIC|PRIVATE> [items1...] [<INTERFACE|PUBLIC|PRIVATE> [items2...] ...])
Specify include directories to use when compiling a given target. The named <target>
must have been created by a command such as add_executable()
or add_library()
and must not be an 登录查看完整内容