Hi all,<div><br></div><div>Anyone know anything about this? I&#39;m seeing the same issue with MSVC 2008 + cmake 2.8(.?)</div><div><br></div><div>add_library(foo .. EXCLUDE_FROM_ALL ..)</div><div><br></div><div>-Johan</div>
<div><br></div><div><br><div class="gmail_quote">On Tue, May 3, 2011 at 4:59 PM, Andrea Galeazzi <span dir="ltr">&lt;<a href="mailto:Galeazzi@korg.it">Galeazzi@korg.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;ve a project made up of multiple executable target:<br>
add_executable(TARGET_NAME1 ${SOURCES1})<br>
add_executable(TARGET_NAME2 ${SOURCES2})<br>
add_executable(TARGET_NAME3 ${SOURCES3})<br>
<br>
...........<br>
Now I&#39;d like to build just only TARGET_NAME1 when I press F7 (build solution) in visual studio. I tried to add<br>
set_target_properties(TARGET_<u></u>NAME2 PROPERTIES EXCLUDE_FROM_ALL &quot;TRUE&quot;)<br>
set_target_properties(TARGET_<u></u>NAME3 PROPERTIES EXCLUDE_FROM_ALL &quot;TRUE&quot;)<br>
......<br>
but it only remove the dependency from ALL_BUILD project.<br>
So, is it possible to generate a such kind of solution?<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
</blockquote></div><br></div>