<div class="gmail_quote">On Fri, Jan 16, 2009 at 5:51 PM, Robert Dailey <span dir="ltr"><<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I'm reading the documentation about include directories (<a href="http://cmake.org/cmake/help/cmake2.6docs.html#command:include_directories" target="_blank">located here</a>) and I do not see any mention of include directories being specific to the target or more of a global thing. However, when looking at the output of my visual studio project files, it seems to only have those include directories added when called after calling project(). It seems like each time I call project() it resets the previously added include directories. Is this behavior intended? I would actually prefer a case where include directories were global and each time you call include_directories() they are appended.<br>
</blockquote></div><br>With a little bit of hard work I was able to figure out how include_directories() works. The documentation was not very specific on this detail. It appears the include directories are a property of the containing directory of the current CMakeLists.txt file.<br>