Re: [CMake] pgf90 error

2010-03-29 Thread Verweij, Arjen
Hi, Sorry for reviving this, but I've read it and I didn't understand. Will some version of 2.8.x clear this flag on Linux when the compiler is pgf90 or is this now a documented feature for which you need to clear the flags manually? For the record, when using pgf90 you also need to clear CMAK

Re: [CMake] exe and dll vs. pdb and idb files (was RE: CMAKE_RUNTIME_OUTPUT_DIRECTORY without the extra'Debug' or 'Release' ?)

2010-03-29 Thread Brad King
david.k...@l-3com.com wrote: > Brad King wrote: >> Perhaps the install() command is better for that. > > it adds an extra step into the procedure Just run "make install" instead of "make". > just collecting .exes and .dlls in a directory within > ${my_project_BINARY_DIR} is hardly a bona fide i

Re: [CMake] exe and dll vs. pdb and idb files (was RE: CMAKE_RUNTIME_OUTPUT_DIRECTORY without the extra'Debug' or 'Release' ?)

2010-03-29 Thread David . Karr
> From: Brad King [mailto:brad.k...@kitware.com] > > david.k...@l-3com.com wrote: >> One thing you can do with one directory full of .exe and .dll files is >> to copy it somewhere else—to an arbitrary directory on another computer, > > Perhaps the install() command is better for that. Not if you

[CMake] working around gcc version bug in xocde generator

2010-03-29 Thread Simmons, Aaron
My project requires using gcc 4.0 when compiling on Mac OS X, as it has to support 10.4. This works fine for the makefile generator, but it breaks with the XCode generator for Xcode 3.2 as the default gcc is v4.2. Other posts on this list indicates that it's a bug in the Xcode generator. I wo

[CMake] find_file with wildcards

2010-03-29 Thread James Bigler
I've looked at the documentation for find_file, and it seems like I have to specify all possible permutations of the name explicitly. Is there a way to do so with a wild card? find_file(... NAMES somefile_1.*.txt ...) James ___ Powered by www.kitware.c

Re: [CMake] Add .la files to shared lib

2010-03-29 Thread Alexander Neundorf
On Monday 29 March 2010, Max Ivanov wrote: > I am trying to compile shared lib dynamically linked with one set of > libs and statically with anoter. Static libs are provided by third > party This is only possible if this 3rd party static library has been built with the correct set of flags (-fPI

Re: [CMake] Has anybody tried to use CMake to build software on the MinGW/MSYS/Wine platform?

2010-03-29 Thread Clinton Stimpson
On Monday 29 March 2010 12:27:17 pm Alan W. Irwin wrote: > Wine (winehq.com) is free (in both senses) software that provides a Windows > work-alike that appears (from news stories, I have no personal experience > yet) to be fairly mature. > > Thus, I was wondering whether anybody here had tried Mi

[CMake] Has anybody tried to use CMake to build software on the MinGW/MSYS/Wine platform?

2010-03-29 Thread Alan W. Irwin
Wine (winehq.com) is free (in both senses) software that provides a Windows work-alike that appears (from news stories, I have no personal experience yet) to be fairly mature. Thus, I was wondering whether anybody here had tried MinGW/MSYS/Wine as a platform for building software with CMake? Not

[CMake] FindBoost

2010-03-29 Thread James Sharpe
When specifying a minimum version for boost if cmake finds an older version of boost it correctly errors when using find_package(Boost REQUIRED). Subsequent runs of cmake run without error as the variables that were set to the older version of boost are still in the cache and thus FindBoost skips o

Re: [CMake] CMake has moved to Git!

2010-03-29 Thread Richard Wackerbarth
Thanks, Just what I needed! Richard On Mar 29, 2010, at 12:01 PM, Brad King wrote: > I added a "dashboard" branch to the cmake.org/cmake.git repository. > See here for instructions: > > http://www.cmake.org/Wiki/CMake/Git#Dashboard > > I suggest committing your local script to your local repo

Re: [CMake] CMake has moved to Git!

2010-03-29 Thread Brad King
Tyler Roscoe wrote: > On Fri, Mar 26, 2010 at 05:20:21PM -0500, Richard Wackerbarth wrote: >> Now that the setup scripting is more complex, I'm trying to use your >> "cmake_common.cmake" script for my CMake submissions. Tracking changes >> to that script would be much easier for me if you have it p

Re: [CMake] Is there really any cmake support?

2010-03-29 Thread Bill Hoffman
Michael Wild wrote: On 29. Mar, 2010, at 9:51 , Fred Fred wrote: Subject: Re: [CMake] Is there really any cmake support? From: them...@gmail.com Date: Mon, 29 Mar 2010 08:55:44 +0200 CC: cmake@cmake.org To: stan1...@hotmail.fr On 28. Mar, 2010, at 18:09 , Fred Fred wrote: [snip] What I do

Re: [CMake] CMake has moved to Git!

2010-03-29 Thread Tyler Roscoe
On Fri, Mar 26, 2010 at 05:20:21PM -0500, Richard Wackerbarth wrote: > Now that the setup scripting is more complex, I'm trying to use your > "cmake_common.cmake" script for my CMake submissions. Tracking changes > to that script would be much easier for me if you have it published in > a publicly

Re: [CMake] find_library and mac os x SDKs

2010-03-29 Thread Sean McBride
On Sat, 27 Mar 2010 11:53:46 -0400, Simmons, Aaron said: >> It is a common misconception that one needs to use the 10.4 SDK to >> create an executable that is compatible with 10.4. This is not so. > >In most cases, you're right. Yes, I should have clarified that there are exceptions, and it look

Re: [CMake] CMAKE_SOURCE_DIR overwritten by CMake Fortran language support

2010-03-29 Thread Alan W. Irwin
On 2010-03-29 09:04-0400 Brad King wrote: Arjen Markus wrote: Hi Alan, I have no time today to really dig into the output, but while CMAKE_HOMEDIRECTORY points to the right directory, the outcome is the same: the "wrong" information file gets loaded. I will send the detailed output from cmake

Re: [CMake] How to run shell command in CMakeLists.txt

2010-03-29 Thread Verweij, Arjen
Hi, >> Please guide me how to create one static lib from multiple static >libs. >> >> Can I use ar -x libname and then again make ar from the *.o files? >> Is there any other way? >> -- >> Thanks & Regards, >> Kiran Patil > >Don't even try. Create the single static lib in the first place. There >h

Re: [CMake] Questions on CMAKE_CONFIGURATION_TYPES

2010-03-29 Thread Michael Schildt
Thank you for the example, Ryan. It makes some aspects of writing an Find* Modul clearer and more concret to me. It will be useful for me in the near future. Michael On 3/26/10 5:22 AM, Michael Schildt wrote: >/ />>/ You don't generally need to use link-directories - if you're using />>/ impo

Re: [CMake] How to run shell command in CMakeLists.txt

2010-03-29 Thread Michael Wild
On 29. Mar, 2010, at 14:11 , Kiran Gopal Patil wrote: > Hi All, > > I have created a number of libs in LIBRARY_OUTPUT_DIR by compiling the code > using cmake. > Now I want to create a one static lib from all these libs. > > Please guide me how to create one static lib from multiple static libs.

[CMake] How to run shell command in CMakeLists.txt

2010-03-29 Thread Kiran Gopal Patil
Hi All, I have created a number of libs in LIBRARY_OUTPUT_DIR by compiling the code using cmake. Now I want to create a one static lib from all these libs. Please guide me how to create one static lib from multiple static libs. Can I use ar -x libname and then again make ar from the *.o files? I

Re: [CMake] CMAKE_SOURCE_DIR overwritten by CMake Fortran language support

2010-03-29 Thread Brad King
Arjen Markus wrote: > Hi Alan, > > I have no time today to really dig into the output, but while > CMAKE_HOMEDIRECTORY points to the right directory, the outcome is > the same: the "wrong" information file gets loaded. > > I will send the detailed output from cmake --trace in a separate > mail (>

Re: [CMake] warning message

2010-03-29 Thread nader.akh...@laposte.net
2.8.0 solve this issue, no more warning message for eclipse CDT4! Thanks Eric > Message du 29/03/10 13:49 > De : "Eric Noulard" > A : "nader.akh...@laposte.net" > Copie à : cmake@cmake.org > Objet : Re: [CMake] warning message > > > 2010/3/29 nader.akh...@laposte.net > > > > I manage to reprodu

[CMake] about http_proxy env var for download with cmake

2010-03-29 Thread nader.akh...@laposte.net
Just to give back some info I've found: * it's recommanded to use http_proxy (with lower case), because upper case will be deprecated in last curl version: "http_proxy is an exception as it is only available in lower case. " from http://curl.haxx.se/docs/manpage.html * here is the syntax for pro

Re: [CMake] warning message

2010-03-29 Thread nader.akh...@laposte.net
Ok, I'll let you know and file a bug if reproduced in 2.8 > Message du 29/03/10 13:49 > De : "Eric Noulard" > A : "nader.akh...@laposte.net" > Copie à : cmake@cmake.org > Objet : Re: [CMake] warning message > > > 2010/3/29 nader.akh...@laposte.net > > > > I manage to reproduce it even with smal

Re: [CMake] warning message

2010-03-29 Thread Eric Noulard
2010/3/29 nader.akh...@laposte.net > > I manage to reproduce it even with small project in fact. > It appears only with "Eclipse CDT4 - Unix Makefiles"... I see... > I'll test an update of cmake version with your instructions If the problem is still there in 2.8.0 then please file a bug http://

Re: [CMake] warning message

2010-03-29 Thread nader.akh...@laposte.net
I manage to reproduce it even with small project in fact. It appears only with "Eclipse CDT4 - Unix Makefiles"... I'll test an update of cmake version with your instructions > Message du 29/03/10 13:09 > De : "Eric Noulard" > A : "nader.akh...@laposte.net" > Copie à : cmake@cmake.org > Objet

Re: [CMake] warning message

2010-03-29 Thread Eric Noulard
2010/3/29 nader.akh...@laposte.net > > > It is the one provided by ubuntu which is version 2.6-patch 4 > I use Ubuntu kermit and cmake commande line. 2.6.4 is the official karmic package but it's becoming oldish and since 2.8.x is now the "stable" release for CMake I doubt that 2.6.x would be fix

Re: [CMake] warning message

2010-03-29 Thread nader.akh...@laposte.net
It is the one provided by ubuntu which is version 2.6-patch 4 I use Ubuntu kermit and cmake commande line. I have to double check but I don't think I reproduce it with a small standalone project... > Message du 29/03/10 11:34 > De : "Eric Noulard" > A : "nader.akh...@laposte.net" > Copie à

Re: [CMake] warning message

2010-03-29 Thread Eric Noulard
2010/3/29 nader.akh...@laposte.net > > Hello, > > I've the following message while generating projects with cmake: > > CMake Error: Error required internal CMake variable not set, cmake may be not > be built correctly. > Missing variable is: > CMAKE_EDIT_COMMAND-- Generating done > > Everything w

[CMake] warning message

2010-03-29 Thread nader.akh...@laposte.net
Hello, I've the following message while generating projects with cmake: CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_EDIT_COMMAND-- Generating done Everything works fine but I would like to avoid this warning. Thank

Re: [CMake] Is there really any cmake support?

2010-03-29 Thread Michael Wild
On 29. Mar, 2010, at 9:51 , Fred Fred wrote: > > >> Subject: Re: [CMake] Is there really any cmake support? >> From: them...@gmail.com >> Date: Mon, 29 Mar 2010 08:55:44 +0200 >> CC: cmake@cmake.org >> To: stan1...@hotmail.fr >> >> >> On 28. Mar, 2010, at 18:09 , Fred Fred wrote: >> >>> [sni