Re: [CMake] Interference between MSVC and g95

2008-05-16 Thread Arjen Markus
Brad King wrote: Arjen Markus wrote: It means that a combination of MSVC and g95 in one project is impossible. I think the problem is that the platform files for GNU and MSVC tools are both getting loaded but they have been written assuming they are always separate (which is the case

[CMake] Supressing progress output in 2.6

2008-05-16 Thread Martin Lütken
I am a happy user of the Kdevelop generator. But since 2.6 I get a lot of uninteresting progress output even when I set to "Minimal output" in kdevelop output window. It makes it almost impossible to locate error messages and debugging wheter you have set the correct compile flags for a given fi

[CMake] Perforce patch to CTest

2008-05-16 Thread James Bigler
I recently switched jobs, and they use Perforce for source control. I've been using CMake for a number of years now and plan on using it for some new projects here. I would also like to use CTest and CDart, but there doesn't seem to be support for perforce. I noticed there was a patch submitted a

[CMake] permissions for installation directories

2008-05-16 Thread Christophe Alexandre
Hi all, Is it possible to modify the permissions of installation directories using the INSTALL command ? When I use a command like : install(TARGETS mylib DESTINATION lib PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_RE

[CMake] Building Cocoa applications with CMake

2008-05-16 Thread Ciarán Walsh
Hi, I’m a Cocoa developer, and I’m looking at CMake to use for building my applications. What I’ve seen so far is great, but the biggest problem I have encountered is that I can’t see how I should set up my resource files (images, nibs) etc. to be copied into the resulting app bundle. As

Re: [CMake] Building Cocoa applications with CMake

2008-05-16 Thread Mattias Holm
Hi, You need to add the resources to the executable and set the MACOSX_PACKAGE_LOCATION property for them. I think that this will only work with CMake 2.6. I do something like this, nicked the lines from my project: file(GLOB ORBIT_RES_TEX "textures/*.tga") set_source_files_properties(${OR

Re: [CMake] gcc and concept-checks

2008-05-16 Thread Brad King
Maik Beckmann wrote: > Am Donnerstag 15 Mai 2008 20:45:09 schrieb Maik Beckmann: >> I'll configure my gcc installation to use concepts-checks and I'll do some >> testing on the code at my workspace (i.e. boost) just to see how common >> this kind of STL abuse is. > > Well, boost.python fails to co

Re: [CMake] rdynamic and fpp flags failing

2008-05-16 Thread Brad King
Server Levent Yilmaz wrote: > I have a simple fortran project and am having a problem during compiler > identification stage. Attached is my CMakeLists.txt and the CMakeError.log. > > Just to give some more details, the problem takes place on login nodes > (regular linux system) of a supercomputer

Re: [CMake] Interference between MSVC and g95

2008-05-16 Thread Brad King
Arjen Markus wrote: Brad King wrote: Arjen Markus wrote: It means that a combination of MSVC and g95 in one project is impossible. I think the problem is that the platform files for GNU and MSVC tools are both getting loaded but they have been written assuming they are always separate (whi

Re: [CMake] gcc and concept-checks

2008-05-16 Thread Maik Beckmann
Am Freitag 16 Mai 2008 22:58:34 schrieb Brad King: > Maik Beckmann wrote: > > Well, boost.python fails to compile due to a missing assignment operator. > > However, something like this > > struct Foo { std::vector Foos}; > > is IMHO just wrong and should be corrected. > > I've committed changes

[CMake] About CMakeLists.txt coding style

2008-05-16 Thread Edson Tadeu
Hi, I am looking for documentation about standard coding style, convention and best practices on CMake programming, I couldn't find anything about it in the Wiki or the FAQ. Is there some standard coding style/convention to use for CMakeLists.txt files? Or even some "non-standard" style guide?