[CMake] position of INCLUDE_DIRECTORIES() significant ?

Alexander Neundorf a.neundorf-work at gmx.net
Sun Feb 12 13:08:28 EST 2006


Hi, 
 
does it matter whether I write  
 
include_directories( /usr/include/foo ) 
add_executable(test test.c) 
 
or  
 
add_executable(test test.c) 
include_directories( /usr/include/foo ) 
 
in the CMakeLists.txt ? 
For me with the Makefile generator both work. Is this also the case for 
the other generators ? 
 
Bye 
Alex 
 

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie


More information about the CMake mailing list