Re: [CMake] Correct usage of add_library

2015-12-23 Thread Cedric Doucet
el library > to linker command. > > > > > > > > > - Mail original - > >> De: "Cedric Doucet" > >> À: "Sergei Nikulov" > >> Cc: cmake@cmake.org > >> Envoyé: Mercredi 23 Décembre 2015 12:59:48 >

Re: [CMake] Correct usage of add_library

2015-12-23 Thread Sergei Nikulov
gei Nikulov" >> Cc: cmake@cmake.org >> Envoyé: Mercredi 23 Décembre 2015 12:59:48 >> Objet: Re: [CMake] Correct usage of add_library >> >> >> Hello, >> >> thank you very much, it works fine! >> >> Do you know how to create a target

Re: [CMake] Correct usage of add_library

2015-12-23 Thread Cedric Doucet
Sorry, it was a mistake! Everything works fine! Best, Cédric - Mail original - > De: "Cedric Doucet" > À: "Sergei Nikulov" > Cc: cmake@cmake.org > Envoyé: Mercredi 23 Décembre 2015 12:59:48 > Objet: Re: [CMake] Correct usage of add_library >

Re: [CMake] Correct usage of add_library

2015-12-23 Thread Cedric Doucet
Cédric - Mail original - > De: "Sergei Nikulov" > À: "Cedric Doucet" > Cc: cmake@cmake.org > Envoyé: Mercredi 23 Décembre 2015 11:38:38 > Objet: Re: [CMake] Correct usage of add_library > > Hello, > > 2015-12-23 13:32 GMT+03:00 Cedric Douc

Re: [CMake] Correct usage of add_library

2015-12-23 Thread Sergei Nikulov
Hello, 2015-12-23 13:32 GMT+03:00 Cedric Doucet : > > Hello, > > I have a code which consist in a kernel and several independent modules > which depend on this kernel. > I would like to let users build the module they want by typing, for example, > > make module1 > > to build the first module.

[CMake] Correct usage of add_library

2015-12-23 Thread Cedric Doucet
Hello, I have a code which consist in a kernel and several independent modules which depend on this kernel. I would like to let users build the module they want by typing, for example, make module1 to build the first module. But, as this first module depends on the kernel, I need this ker