[CMake] cmake trouble
Rolf Eike Beer
eike at sf-mail.de
Mon Oct 22 13:11:16 EDT 2012
Eric Clark wrote:
> Hello,
>
> First off, you cannot call both add_executable and add_library in the same
> CMakeLists file. Here is what I can say about your other questions:
Of course you can.
> 1. All commands that require a target have to come after you have
> created the target via add_executable or add_library. This is simply
> because you need to have a target before you can adds things to it.
That is indeed correct.
Eike
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121022/81d6ca0e/attachment.pgp>
More information about the CMake
mailing list