On Fri, Sep 26, 2008 at 2:40 PM, Jan Roehrich <[EMAIL PROTECTED]>wrote:

> Hello list,
>
> I have the following problem:
>
> I'm using cmake in a C++ project where I create some executables which
> sources rest in its own directories. These
> directories are included using ADD_SUBDIRECTORY.
>
> One subdirectory is called "peer". When I execute cmake, I get - among
> other things - the output "Not planning to Build Executable : peer
> because disabled by user, use ccmake to enable".
>
> Ok. I start ccmake and ENABLE_PEER is OFF. I change this to ON and type
> "c" to generate. After generation ENABLE_PEER is OFF again.
>
> Are there any hints how I can track down the problem. I'm not very
> familiar with cmake yet.

May be this is a problem in your CMakeLists.txt, someone overwrites your
value with set(ENABLE_PEER  .. CACHE FORCE).
Look for ENABLE_PEER usage in your cmake scripts, there are may be a clues.

>
>
> Thanks in advance
>
> Regards Jan
>
> --
> Dipl. Inform. (FH) Jan Röhrich
> @ Fraunhofer IAO
> [EMAIL PROTECTED]
>
>
> _______________________________________________
> CMake mailing list
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to