[CMake] windows paths...

2008-05-11 Thread Phil Pellouchoud
hi all, this is driving me a bit crazy and I'm sure someone on here has encountered this before. our build system is based on environment variables. the paths in the environment variables looks something like this: S:\software\... When I feed that into cmake, I get errors like: syntax error,

Re: [CMake] Checking for a Fortran compiler

2008-05-11 Thread Alan W. Irwin
On 2008-05-11 19:35-0700 Radu Serban wrote: Is there any way to check if a working Fortran compiler exists [...]? Here is what PLplot does for this problem. (I cannot take credit for this CMake code, but it appears to work well.) # Check for fortran compiler include(CMakeDetermineFortranCo

[CMake] Checking for a Fortran compiler

2008-05-11 Thread Radu Serban
Is there any way to check if a working Fortran compiler exists without triggering an error if one cannot be found? My project only requires C and a Fortran compiler is not required (not having one would simply disable some modules but should not stop the build). Simply including ENABLE_LANGUAGE(Fo

Re: [CMake] Setting up mingw toolchain for crosscompiling from Linux

2008-05-11 Thread Alexander Neundorf
On Sunday 11 May 2008, Nathan Huesken wrote: > Hi, > > My cmake project works now! > Now I want to crosscompile to Windows. I am under gentoo and installed > mingw toolchain (which works, I can manually compile with it). Then I setup > the Toolchain-mingw32.cmake as suggested here: > http://www.cma

[CMake] Setting up mingw toolchain for crosscompiling from Linux

2008-05-11 Thread Nathan Huesken
Hi, My cmake project works now! Now I want to crosscompile to Windows. I am under gentoo and installed mingw toolchain (which works, I can manually compile with it). Then I setup the Toolchain-mingw32.cmake as suggested here: http://www.cmake.org/Wiki/CmakeMingw # the name of the target operati

[CMake] [New Module] FindMagick and FindCxxTest

2008-05-11 Thread Philip Lowman
Here are a couple of modules I've checked into the bugtracker and I'm volunteering to maintain. I've added my name to the Module Maintainers page. FindMagick.cmake http://public.kitware.com/Bug/view.php?id=6400 FindCxxTest.cmake: http://public.kitware.com/Bug/view.php?id=6401 -- Philip Lowman

Re: [CMake] question on pkg_check_modules()

2008-05-11 Thread Philip Lowman
On Fri, May 9, 2008 at 7:04 PM, Philip Lowman <[EMAIL PROTECTED]> wrote: > On Fri, May 9, 2008 at 4:12 PM, Alexander Neundorf < > [EMAIL PROTECTED]> wrote: > > > On Friday 09 May 2008, Philip Lowman wrote: > > > Should the pkg_check_modules() included with CMake 2.6.0 in > > > FindPkgConfig.cmake

Re: [CMake] CMake and Clanlib

2008-05-11 Thread Alan W. Irwin
On 2008-05-11 18:40+0200 Nathan Huesken wrote: Which looks like, it finds everything (and correctltly!). But when I then type make, I get: [ 25%] Building CXX object CMakeFiles/schueler.dir/button_colorstyle.o (...) /home/ls/Projects/lernprog/schueler/button_colorstyle.hh:4:25: Error: ClanLib/g

Re: [CMake] CMake and Clanlib

2008-05-11 Thread Nathan Huesken
On Sun, May 11, 2008 at 06:08:37PM +0200, Alexander Neundorf wrote: > On Sunday 11 May 2008, Nathan Huesken wrote: > > Hi, > > > > I am completly new to cmake, I want to use it in a project, where I also > > use ClanLib. What I did: > > I downloaded http://www.cmake.org/Wiki/CMakeUserFindClanLib in

Re: [CMake] CMake and Clanlib

2008-05-11 Thread Alexander Neundorf
On Sunday 11 May 2008, Nathan Huesken wrote: > Hi, > > I am completly new to cmake, I want to use it in a project, where I also > use ClanLib. What I did: > I downloaded http://www.cmake.org/Wiki/CMakeUserFindClanLib into > ClanLibConfig.cmake > > This is my CMakeLists.txt: > SET(sources main.cc) >

[CMake] CMake and Clanlib

2008-05-11 Thread Nathan Huesken
Hi, I am completly new to cmake, I want to use it in a project, where I also use ClanLib. What I did: I downloaded http://www.cmake.org/Wiki/CMakeUserFindClanLib into ClanLibConfig.cmake This is my CMakeLists.txt: SET(sources main.cc) SET(ClanLib_DIR /home/ls/Project/) FIND_PACKAGE(ClanLib) INCL

Re: [CMake] is there a variable name for the executable or library?

2008-05-11 Thread Alexander Neundorf
On Sunday 11 May 2008, Phil Pellouchoud wrote: > Basically, the output artifact? GET_TARGET_PROPERTY(... LOCATION) Alex ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] is there a variable name for the executable or library?

2008-05-11 Thread Phil Pellouchoud
Basically, the output artifact? -phil ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Coverage tests with gcov under Linux

2008-05-11 Thread Bill Hoffman
Judicaël Bedouet wrote: It perfectly works with CVS CMake. Thanks. Will this commit be integrated in CMake 2.6 or is it too late ? Thanks again, J. Bedouet It will be in 2.6.1. Should be out in weeks not months. Thanks for testing this. -Bill ___ C

Re: [CMake] Coverage tests with gcov under Linux

2008-05-11 Thread Judicaël Bedouet
It perfectly works with CVS CMake. Thanks. Will this commit be integrated in CMake 2.6 or is it too late ? Thanks again, J. Bedouet On Sat, May 10, 2008 at 5:19 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > Judicaël Bedouet wrote: >> >> It works if I set LC_ALL to POSIX before running `make Exper