Re: [CMake] Single-shot compilation

2010-02-18 Thread Alexander Neundorf
On Wednesday 17 February 2010, Oliver Smith wrote: > On systems that support it, I'm wanting to do the equivalent of: > > $(CC) -pipe source1.cpp source2.cpp source3.cpp -fwhole-program > > I can't figure out how to tell CMake to pass multiple sources to the > compiler at once. If you really w

[CMake] Single-shot compilation

2010-02-16 Thread Oliver Smith
On systems that support it, I'm wanting to do the equivalent of: $(CC) -pipe source1.cpp source2.cpp source3.cpp -fwhole-program I can't figure out how to tell CMake to pass multiple sources to the compiler at once. (Using versions 2.6 and 2.8) - Oliver __