CMake command

Set variable

Basic usage of SET


To include existing variables in the SET


To include multiple items in SET


Include include path (header)


Suppose we have the header files like this


To globally add the include path, use include_directories


To specially add the include path for target, use target_include_directories


Include linker path