Re: [CMake] linking hared libraries

2015-10-20 Thread Chuck Atkins
> > On Mon, Oct 19, 2015 at 8:43 PM, Owen Alanzo Hogarth > 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: > >

Re: [CMake] linking hared libraries

2015-10-19 Thread Owen Alanzo Hogarth
You made a few points that I have not seen before specifically using $ and $ Where are these commands, I just did a search and found a mailing list that said they will override

[CMake] linking hared libraries

2015-10-19 Thread Owen Alanzo Hogarth
Hi guys Can I get some help with this question I have. I did a really thorough writeup here on SO: http://stackoverflow.com/questions/33209659/cmake-no-rule-to-make-target-for-internal-shared-library?noredirect=1#comment54224377_33209659 -- Powered by www.kitware.com Please keep messages

Re: [CMake] linking hared libraries

2015-10-19 Thread Owen Alanzo Hogarth
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:

Re: [CMake] linking hared libraries

2015-10-19 Thread Owen Alanzo Hogarth
also one more question. I have a few header only files one in common/common_structs.h and core_math/core_math.h These files aren't compiled anywhere, they are just used as header only files that I will eventually use to link in different versions of the matrix and vector classes. For example I

Re: [CMake] linking hared libraries

2015-10-19 Thread Raymond Wan
Hi Owen, On Mon, Oct 19, 2015 at 8:43 PM, Owen Alanzo Hogarth 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: