<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Michael Hertling ha scritto:
<blockquote cite="mid4CEF492E.4000900@online.de" type="cite">
<pre wrap="">On 11/23/2010 03:23 PM, Andrea Galeazzi wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Marcel Loose ha scritto:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">On 23-11-2010 at 10:55, in message <a class="moz-txt-link-rfc2396E" href="mailto:4CEB8F76.80300@korg.it"><4CEB8F76.80300@korg.it></a>, Andrea
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">Galeazzi
<a class="moz-txt-link-rfc2396E" href="mailto:galeazzi@korg.it"><galeazzi@korg.it></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">In a project I've got two groups of files having different include
paths. These paths have some conflicts so I need to specify just one
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">for each file requires it.
My first idea was to apply set_source_files_properties with a
</pre>
</blockquote>
<pre wrap="">property
</pre>
<blockquote type="cite">
<pre wrap="">like include_directories but I don't find anything similar. My next
attempt is gonna use the COMPILE_FLAGS property, does anybody know a
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">more efficient and elegant way to accomplish a such task?
An equivalent issue was discussed in this thread
<a class="moz-txt-link-freetext" href="http://www.mail-archive.com/cmake@cmake.org/msg05276.html">http://www.mail-archive.com/cmake@cmake.org/msg05276.html</a> but I
</pre>
</blockquote>
<pre wrap="">didn't
</pre>
<blockquote type="cite">
<pre wrap="">find any useful answer.
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at
<a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the CMake FAQ at:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a>
</pre>
</blockquote>
<pre wrap="">Hi Andrea,
As you noted include_directories is a per-directory setting. So, if
you're free to reorganize your source files, you could put the two
groups of files in two different directories. Then you can use
include_directories() in each directory. Make sure you don't make one of
these directories a subdirectory of the other.
HTH,
Marcel Loose.
__________ Informazioni da ESET NOD32 Antivirus, versione del database delle firme digitali 5639 (20101122) __________
Il messaggio è stato controllato da ESET NOD32 Antivirus.
<a class="moz-txt-link-abbreviated" href="http://www.nod32.it">www.nod32.it</a>
</pre>
</blockquote>
<pre wrap="">Yes, the sources are splitted in different directories but the
CMakeLists.txt is just one:
-Root
CMakeLists.txt
-dir1
file1.cpp
file2.cpp
......
-dir2
file1.cpp
file2.cpp
.........
I'd like to generate just one IDE project from this project.
</pre>
</blockquote>
<pre wrap=""><!---->
FYI, see [1] and especially [2].
Regards,
Michael
[1] <a class="moz-txt-link-freetext" href="http://public.kitware.com/Bug/view.php?id=1968">http://public.kitware.com/Bug/view.php?id=1968</a>
[2] <a class="moz-txt-link-freetext" href="http://public.kitware.com/Bug/view.php?id=8189">http://public.kitware.com/Bug/view.php?id=8189</a>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a>
__________ Informazioni da ESET NOD32 Antivirus, versione del database delle firme digitali 5647 (20101125) __________
Il messaggio è stato controllato da ESET NOD32 Antivirus.
<a class="moz-txt-link-abbreviated" href="http://www.nod32.it">www.nod32.it</a>
</pre>
</blockquote>
Sorry, I don't understand, what's [1] or [2]?<br>
</body>
</html>