I have a directory structure for my C++ code which goes like this :
|
|->include
|->src
I am writing a CMakeLists.txt file for my code. I want to understand the difference between include_directories
and target_include_directories
in CMake
.
What is the difference between their usage and in order to add my include file path which one should I be using?