Re: [CMake] Sharing objects between executables - solved

2011-10-05 Thread pellegrini
thanks for your help Alexander & Michael. Eric Michael Hertling a écrit : On 10/04/2011 10:42 AM, pellegrini wrote: Hi all, I would need your advise about the strategy to adopt when two executables share common object files. Sharing object files among different targets might mean

Re: [CMake] Sharing objects between executables

2011-10-04 Thread Michael Hertling
On 10/04/2011 10:42 AM, pellegrini wrote: > Hi all, > > I would need your advise about the strategy to adopt when two > executables share common object files. Sharing object files among different targets might mean asking for trouble - possibly quite subtle trouble - since different targets' obj

Re: [CMake] Sharing objects between executables

2011-10-04 Thread Alexander Neundorf
On Tuesday 04 October 2011, pellegrini wrote: > Hi all, > > I would need your advise about the strategy to adopt when two > executables share common object files. > > Here is the context. I have a project that consists in a program (e.g. > console_prog) that was historically a console program > o

[CMake] Sharing objects between executables

2011-10-04 Thread pellegrini
Hi all, I would need your advise about the strategy to adopt when two executables share common object files. Here is the context. I have a project that consists in a program (e.g. console_prog) that was historically a console program on top of which a GUI (gui_prog) was built. The gui_prog ca

[CMake] Sharing objects between executables

2011-10-04 Thread pellegrini
Hi all, I would need your advise about the strategy to adopt when two executables share common object files. Here is the context. I have a project that consists in a program (e.g. console_prog) that was historically a console program on top of which a GUI (gui_prog) was built. The gui_prog ca