<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Sep 26, 2008 at 2:40 PM, Jan Roehrich <span dir="ltr">&lt;<a href="mailto:jan.roehrich@iao.iward.org">jan.roehrich@iao.iward.org</a>&gt;</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;">
Hello list,<br>
<br>
I have the following problem:<br>
<br>
I&#39;m using cmake in a C++ project where I create some executables which<br>
sources rest in its own directories. These<br>
directories are included using ADD_SUBDIRECTORY.<br>
<br>
One subdirectory is called &quot;peer&quot;. When I execute cmake, I get - among<br>
other things - the output &quot;Not planning to Build Executable : peer<br>
because disabled by user, use ccmake to enable&quot;.<br>
<br>
Ok. I start ccmake and ENABLE_PEER is OFF. I change this to ON and type<br>
&quot;c&quot; to generate. After generation ENABLE_PEER is OFF again.<br>
<br>
Are there any hints how I can track down the problem. I&#39;m not very<br>
familiar with cmake yet.</blockquote><div>May be this is a problem in your CMakeLists.txt, someone overwrites your value with set(ENABLE_PEER&nbsp; .. CACHE FORCE).<br>Look for ENABLE_PEER usage in your cmake scripts, there are may be a clues.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Thanks in advance<br>
<br>
Regards Jan<br>
<br>
-- <br>
Dipl. Inform. (FH) Jan Röhrich<br>
@ Fraunhofer IAO<br>
<a href="mailto:jan.roehrich@iao.iward.org" target="_blank">jan.roehrich@iao.iward.org</a><br>
<br>
<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>