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 very

[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

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

[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

[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

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] 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 (like

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 linkage cmd

[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

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 anton.sibi...@gmail.com wrote: Hi All! Please, help me to find in cmake's structure full logs of compilation/linkage. I use Unix Makefiles generator...

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 anton.sibi...@gmail.com wrote: Already tried this, it works. But just for cmake I've found this - set (CMAKE_VERBOSE_MAKEFILE true) 2011/5/10 Tyler ty...@cryptio.net: Your

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] 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 k...@lanl.gov wrote: Bill, I use the EXCLUDE_LABEL option for the ctest_memcheck() command to prevent certain LABELed tests from running under valgrind. See

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(FIND

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 the

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 a.neundorf-w...@gmx.net wrote: Hi Matthias, On Tuesday 10 May 2011, Matthias

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 ? Yes,

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 output

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 the full path

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

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 jtwadswo...@gmail.com wrote: So I

[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

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 tho...@gmail.com wrote: Hello there, is there a quick

[Cmake-commits] CMake branch, next, updated. v2.8.4-1510-gc47d25f

2011-05-10 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via c47d25f36901e42e8dac310ed7cc4efc7f45adfd (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.4-421-g7faffc9

2011-05-10 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 7faffc988ca2598785a97c3902d4eb12f10561a9 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.4-422-g692f62f

2011-05-10 Thread KWSys Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 692f62fc3ea1cbc0ec440bf7eb79dba83fa64623 (commit) from