[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 __

Re: [CMake] Setting "Link Library Dependencies" Flag in VS 2005

2010-02-16 Thread James Zipperer
http://www.mail-archive.com/cmake@cmake.org/msg13565.html Was there ever a work around found for this issue (raised back in May 2008)? I'm trying to do the same kind of thing: I want to have a static library that contains symbols from other static libs so that the end product I deliver to my c

Re: [CMake] Compaq Visual Fortran

2010-02-16 Thread Arjen Markus
Hi Brad, thanks for this detailed explanation. I will try again with these amendments. (I detest the introduction of spaces in directory names and file names. It messes up all manner of things! Yes, you are right, quotes won't solve the issue.) Regards, Arjen On 2010-02-16 16:12, Brad King wr

Re: [CMake] Compaq Visual Fortran

2010-02-16 Thread Brad King
Arjen Markus wrote: > f90.exe /compile_only -IF:\plplot-svn\plplot\bindings\f77\strutils.f > > Compaq Visual Fortran has an option /include or /I or -I but also an > option /iface:keyword or -IF:keyword. > > In this particular constellation it is interpreting the options in the > wrong manner

Re: [CMake] Configuring output directory for ui_* and moc_* files

2010-02-16 Thread Hendrik Sattler
Zitat von Peter von Niederhaeusern : Following problem: I'd like to configure CMake to place the uis and the mocs of Qt in a specific directory (thus not cluttering up my source trees). Is there an easy way to achieve this? Of course I then have to specifiy where those files are for the build to

[CMake] Configuring output directory for ui_* and moc_* files

2010-02-16 Thread Peter von Niederhaeusern
Hello Following problem: I'd like to configure CMake to place the uis and the mocs of Qt in a specific directory (thus not cluttering up my source trees). Is there an easy way to achieve this? Of course I then have to specifiy where those files are for the build to no fail... My source tree looks