[CMake] include_directories() and duplicates

2011-11-02 Thread Robert Dailey
Does the include_directories() command strip out duplicate paths added? - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] include_directories() and duplicates

2011-11-02 Thread Michael Hertling
On 11/02/2011 06:54 PM, Robert Dailey wrote: Does the include_directories() command strip out duplicate paths added? Yes, it does; see the following exemplary project: CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR) PROJECT(INCLUDE C) SET(CMAKE_VERBOSE_MAKEFILE ON) FILE(WRITE