Re: [CMake] Issue using cmake with mingw

2011-05-10 Thread Eric Noulard
2011/5/11 AMARNATH, Balachandar : > Hi, > > > I am trying to compile (cross) a library in linux (debian) under mingw. I > have installed the mingw packages for debian (gcc-mingw32, mingw32-binutils, > mingw32-runtime) and have specified i586-mingw32-gcc, i586-mingw32-c++ and > i586-mingw32-gfortran

Re: [CMake] Express Edition

2011-05-10 Thread Yuri Timenkov
Isn't CMAKE_USING_VC_FREE_TOOLS works? You can also look for files containing builder configuration in BuildDir/CMakeFiles directory. Anyways, you can write your own test to check for VC version. On Sat, May 7, 2011 at 3:37 PM, QbProg wrote: > Hello there, > is there a quick & clean way to dete

[CMake] Issue using cmake with mingw

2011-05-10 Thread AMARNATH, Balachandar
Hi, I am trying to compile (cross) a library in linux (debian) under mingw. I have installed the mingw packages for debian (gcc-mingw32, mingw32-binutils, mingw32-runtime) and have specified i586-mingw32-gcc, i586-mingw32-c++ and i586-mingw32-gfortran as my c, cxx and fortran compiler (present

Re: [CMake] OSX Bundling

2011-05-10 Thread Michael Jackson
Does the app actually use carbon or cocoa for it's windowing API or is it simply an x11 app that compiles on OS x? What is the name of the project? Is it open source so that we can download it and take a look? Mike Jackson On Tuesday, May 10, 2011, jtwadsworth wrote: > So I don't want an X11 app

Re: [CMake] OSX Bundling

2011-05-10 Thread jtwadsworth
So I don't want an X11 app. I want it to be in Carbon/Cocoa. How do I make Cmake create that? The instructions just aren't clear. Has anyone done it with Cmake? jtw -- View this message in context: http://cmake.3232098.n2.nabble.com/OSX-Bundling-tp6339477p6350297.html Sent from the CMake mai

Re: [CMake] Put bin|lib folders under Debug|Release folders

2011-05-10 Thread Michael Hertling
On 05/08/2011 07:35 AM, Bo Zhou wrote: > Hello all, > > I am dealing with a problem about the output path. At present I just do > like this, > > set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_INSTALL_PREFIX}/bin") > set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_INSTALL_PREFIX}/lib") > > And in fact t

Re: [CMake] many false positives in ctest error/warning reporting

2011-05-10 Thread Alexander Neundorf
On Tuesday 10 May 2011, Matthias Kretz wrote: > Hi Alex! > > On Tuesday 10 May 2011 21:47:41 Alexander Neundorf wrote: > > On Tuesday 10 May 2011, Matthias Kretz wrote: > > Are you using cmake >= 2.8 ? > > If so, there the switch CTEST_USE_LAUNCHERS. If this is set in your > > ctest- script, the o

Re: [CMake] many false positives in ctest error/warning reporting

2011-05-10 Thread Matthias Kretz
Hi Alex! On Tuesday 10 May 2011 21:47:41 Alexander Neundorf wrote: > On Tuesday 10 May 2011, Matthias Kretz wrote: > Are you using cmake >= 2.8 ? > If so, there the switch CTEST_USE_LAUNCHERS. If this is set in your ctest- > script, the output parsing works better. Are you already using this ? Ye

Re: [CMake] many false positives in ctest error/warning reporting

2011-05-10 Thread Jean-Christophe Fillion-Robin
Note that CTEST_USE_LAUNCHER works only with Makefile based generators. It will lead to unexpected behavior if it's enabled with Visual Studio generator. Jc On Tue, May 10, 2011 at 3:47 PM, Alexander Neundorf wrote: > Hi Matthias, > > On Tuesday 10 May 2011, Matthias Kretz wrote: > > Hi, > > >

Re: [CMake] many false positives in ctest error/warning reporting

2011-05-10 Thread Alexander Neundorf
Hi Matthias, On Tuesday 10 May 2011, Matthias Kretz wrote: > Hi, > > the regular expressions for errors and warnings in > Source/CTest/cmCTestBuildHandler.cxx appear to be too general. I have a > dashboard where all of the nightly builds are done with parallel builds > (-j24 for the machine with

Re: [CMake] Testing for the presence of an element in a list

2011-05-10 Thread Alexander Neundorf
On Tuesday 10 May 2011, J.S. van Bethlehem wrote: > Hello everyone, > > A silly question maybe, but I'm pretty sure at some point I read in some > piece of CMake documentation about a direct way to test for the presence > of an element in some list. So the following in a single command: > list(FIN

Re: [CMake] Suppress dynamic analysis for a given test

2011-05-10 Thread Bill Lorensen
Kelly, Thanks, since ITK uses labels, I'll try the exclude_label. Bill On Tue, May 10, 2011 at 12:09 PM, Kelly Thompson wrote: > Bill, > > > > I use the EXCLUDE_LABEL option for the ctest_memcheck() command to prevent > certain LABELed tests from running under valgrind. See > http://www.cmake

Re: [CMake] CMake thinks Fortran is C++ when linking statically

2011-05-10 Thread Erlend Pedersen
On Tue, 2011-05-10 at 14:42 +0200, Michael Hertling wrote: > On 05/10/2011 12:19 PM, Erlend Pedersen wrote: > > I am having problems with Fortran linking that doesn't work when > > building static libraries, only when building shared libraries. I am > > using cmake from Ubuntu 10.04 (2.8.0-5ubuntu1

Re: [CMake] cmake logs

2011-05-10 Thread Tyler
Please reply to the list so others can see the answer. Thanks, tyler On Tue, May 10, 2011 at 8:19 AM, Anton Sibilev wrote: > Already tried this, it works. But just for cmake I've found this - set > (CMAKE_VERBOSE_MAKEFILE true) > > 2011/5/10 Tyler : >> Your question is hard to understand, but I

Re: [CMake] cmake logs

2011-05-10 Thread Tyler
Your question is hard to understand, but I think you want "make VERBOSE=1". tyler On Tue, May 10, 2011 at 5:16 AM, Anton Sibilev wrote: > Hi All! Please, help me to find in cmake's structure full logs of > compilation/linkage. I use "Unix Makefiles" generator... > ___

[CMake] many false positives in ctest error/warning reporting

2011-05-10 Thread Matthias Kretz
Hi, the regular expressions for errors and warnings in Source/CTest/cmCTestBuildHandler.cxx appear to be too general. I have a dashboard where all of the nightly builds are done with parallel builds (-j24 for the machine with the most cores). Often this results in messed up compiler output sin

Re: [CMake] add_dependencies and linkage cmd

2011-05-10 Thread Rolf Eike Beer
> Hello! I have a problem, hope someone can help me :) > > When I use "add_dependencies" with Windows VS projects (2010 for > example) - it is ok, additional dependencies are added to projects > dependencies. And with "linux makefiles" - it's in dependencies order > too. > But both cases not in lin

[CMake] add_dependencies and linkage cmd

2011-05-10 Thread gekso
Hello! I have a problem, hope someone can help me :) When I use "add_dependencies" with Windows VS projects (2010 for example) - it is ok, additional dependencies are added to projects dependencies. And with "linux makefiles" - it's in dependencies order too. But both cases not in linkage cmd (lik

Re: [CMake] CMake thinks Fortran is C++ when linking statically

2011-05-10 Thread Michael Hertling
On 05/10/2011 12:19 PM, Erlend Pedersen wrote: > I am having problems with Fortran linking that doesn't work when > building static libraries, only when building shared libraries. I am > using cmake from Ubuntu 10.04 (2.8.0-5ubuntu1). > > I use CMake to build a project, including project-internal

[CMake] cmake logs

2011-05-10 Thread Anton Sibilev
Hi All! Please, help me to find in cmake's structure full logs of compilation/linkage. I use "Unix Makefiles" generator... ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Plea

[CMake] Suppress dynamic analysis for a given test

2011-05-10 Thread Bill Lorensen
Is there a cmake/ctest mechanism to suppress dynamic analysis for a given test? Bill ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check t

[CMake] Testing for the presence of an element in a list

2011-05-10 Thread J.S. van Bethlehem
Hello everyone, A silly question maybe, but I'm pretty sure at some point I read in some piece of CMake documentation about a direct way to test for the presence of an element in some list. So the following in a single command: list(FIND SOME_LIST TEST_ELEMENT TEST_INDEX) if(${TEST_INDEX} EQUA

[CMake] CMake thinks Fortran is C++ when linking statically

2011-05-10 Thread Erlend Pedersen
I am having problems with Fortran linking that doesn't work when building static libraries, only when building shared libraries. I am using cmake from Ubuntu 10.04 (2.8.0-5ubuntu1). I use CMake to build a project, including project-internal shared libraries. All executables are Fortran, but one of

Re: [CMake] Changing installation prefix triggers re-linking of all libraries

2011-05-10 Thread Pere Mato Vila
> > To my regret, I don't see any easy solution for your concern, but if > the unnecessary rebuilds due to the the RPATH placeholder mechanism > are a serious issue in your project, the above-noted approach can > possibly be adapted to your needs. > > 'hope that helps. Dear Michael, Thank-you ve