Project

General

Profile

Support #2166

PATH vs. /include dir

Added by Anonymous about 8 years ago. Updated about 8 years ago.

Status:
Feedback
Priority:
Low
Assignee:
-
Target version:
-
Start date:
08/30/2013
Due date:
% Done:

0%

Estimated time:

Description

What is the difference between setting a dir in PATH environment variable and setting that dir within INCLUDE_DIRECTORIES of CMakeLists.txt ?

#1

Updated by Wim Dumon about 8 years ago

  • Status changed from New to Feedback

PATH is where your operating system will search for executables (and DLLs on windows).

INCLUDE_DIRECTORIES in CMakeLists.txt is where your compiler (preprocessor) will search for include files when it encounters #include directives in the source code.

Also available in: Atom PDF