[CMake] linking hared libraries

Owen Alanzo Hogarth gurenchan at gmail.com
Mon Oct 19 10:02:16 EDT 2015


Ray

Thanks, removing them from the sub projects didn't cause any issues,
although I am still having the issue with either a no rule to make target
error or if I remove the header I get a linking error:
http://stackoverflow.com/questions/33209659/cmake-no-rule-to-make-target-for-internal-shared-library?noredirect=1#comment54229598_33209659


On Mon, Oct 19, 2015 at 9:48 PM, Raymond Wan <rwan.work at gmail.com> wrote:

> Hi Owen,
>
>
> On Mon, Oct 19, 2015 at 8:43 PM, Owen Alanzo Hogarth
> <gurenchan at gmail.com> wrote:
> > Also you said the PROJECT() should only be defined once, but shouldn't
> each
> > cmakelists.txt contain a project() or else cmake complains at me.
>
>
> According to the last paragraph of:
>
> https://cmake.org/cmake/help/v3.0/command/project.html
>
> you only need a PROJECT () in the top-level CMakeLists.txt...
>
> Ray
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20151019/4305b810/attachment.html>


More information about the CMake mailing list