Re: [CMake] AUTOMOC with files on different folders

2016-05-12 Thread Tiago Macarios
Thanks Attila, really appreciate your help. On Wed, May 11, 2016 at 11:23 PM, Attila Krasznahorkay < attila.krasznahor...@gmail.com> wrote: > Hi Tiago, > > Indeed, that page is quite a bit misleading. And it seems to be "liked" by > Google a lot, as most people come across it. (I also found it

Re: [CMake] AUTOMOC with files on different folders

2016-05-12 Thread Attila Krasznahorkay
Hi Tiago, Indeed, that page is quite a bit misleading. And it seems to be "liked" by Google a lot, as most people come across it. (I also found it myself when looking for CMake documentation early on.) In general, listing all source files belonging to a library/executable, even the ones that

Re: [CMake] AUTOMOC with files on different folders

2016-05-11 Thread Hendrik Sattler
Am 12. Mai 2016 00:00:12 MESZ, schrieb Tiago Macarios : >Hi Attila, > >Thank you for your help. You are right, if I apply the following >modifications it works indeed: > >set( proj_HEADER >include/a.h >) > >add_library(proj SHARED ${proj_SOURCE} ${proj_HEADER}) >

Re: [CMake] AUTOMOC with files on different folders

2016-05-11 Thread Tiago Macarios
te: > > > > Hi, > > > > I am having trouble using AUTOMOC with a project where header files and > source files are in different sub-directories. I wrote a detailed stack > overflow question here: > > > http://stackoverflow.com/questions/37151163/cmake-automoc-w

Re: [CMake] AUTOMOC with files on different folders

2016-05-11 Thread Attila Krasznahorkay
rflow question here: > http://stackoverflow.com/questions/37151163/cmake-automoc-with-files-on-different-folders > and would really appreciate if someone could give me a couple of ideas to try > out. > > Thanks, > Tiago > -- > > Powered by www.kitware.com > > Pleas

[CMake] AUTOMOC with files on different folders

2016-05-10 Thread Tiago Macarios
Hi, I am having trouble using AUTOMOC with a project where header files and source files are in different sub-directories. I wrote a detailed stack overflow question here: http://stackoverflow.com/questions/37151163/cmake-automoc-with-files-on-different-folders and would really appreciate