Re: [CMake] Diff output from CMake?

2011-09-13 Thread Federico Carminati
Dear All, is there a way to specify the link command in CMake? If I specify export LD=/usr/bin/ld ; cmake $MY_SOURCE_DIRECTORY it is not taken and if I set cmake $MY_SOURCE_DIRECTORY \ -DCMAKE_C_LINK_EXECUTABLE=ld \ -DCMAKE_CXX_LINK_EXECUTABLE=ld what I observe is that the entire link

[CMake] LINKER FLAGS

2011-09-13 Thread pellegrini
Hi all, I would like to build a Fortran90 project using Fortran intel compiler. I would like to increase the stack by adding the /stack flag to the linker. Looking on the documentation, I think that set(CMAKE_EXE_LINKERS_FLAG /stack:6400) will do the job but I was wondering if using this

Re: [CMake] Diff output from CMake?

2011-09-13 Thread Federico Carminati
Hello Johny, I am afraid not… here is what I get if I specify the full path /usr/bin/ld this is *all* the command, which of course fails. best, Federico Carminati CERN-PH 1211 Geneva 23 Switzerland Tel: +41 22 76 74959 Fax: +41 22 76 68505 Mobile: +41 76 487 4843 On 13 Sep 2011, at 09:57,

[CMake] Specify the link command in CMake

2011-09-13 Thread Eric Noulard
2011/9/13 Federico Carminati federico.carmin...@cern.ch: Dear All, is there a way to specify the link command in CMake? If I specify export LD=/usr/bin/ld ; cmake $MY_SOURCE_DIRECTORY it is not taken and if I set I dont' know if LD env var is supposed to be used at all. cmake

Re: [CMake] Specify the link command in CMake

2011-09-13 Thread Federico Carminati
Hello Eric, sorry for not having changed the subject, I realize it only now. Thanks for your answer. I am trying to use clang / clang++. This works if I do cmake $MY_SOURCE_DIRECTORY -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ however CMake decides to use clang / clang++ as

Re: [CMake] Running unit test as part of the build

2011-09-13 Thread Michael Wild
On 09/12/2011 09:06 PM, Erik Johansson wrote: On Mon, Sep 12, 2011 at 20:30, Michael Wild them...@gmail.com wrote: How about using a custom command that runs the unit test using a wrapper script that upon successful completion creates a stamp-file and depends upon the unit-test executable

Re: [CMake] LINKER FLAGS

2011-09-13 Thread Eric Noulard
2011/9/13 pellegrini pellegr...@ill.fr: Hi all, I would like to build a Fortran90 project using Fortran intel compiler. I would like to increase the stack by adding the /stack flag to the linker. Looking on the documentation, I think that set(CMAKE_EXE_LINKERS_FLAG /stack:6400) will do

Re: [CMake] LINKER FLAGS

2011-09-13 Thread Michael Wild
On 09/13/2011 10:35 AM, pellegrini wrote: Hi all, I would like to build a Fortran90 project using Fortran intel compiler. I would like to increase the stack by adding the /stack flag to the linker. Looking on the documentation, I think that set(CMAKE_EXE_LINKERS_FLAG /stack:6400)

Re: [CMake] LINKER FLAGS

2011-09-13 Thread pellegrini
thanks for the hint Eric Michael Eric Michael Wild a écrit : On 09/13/2011 10:35 AM, pellegrini wrote: Hi all, I would like to build a Fortran90 project using Fortran intel compiler. I would like to increase the stack by adding the /stack flag to the linker. Looking on the

[CMake] Using CMake for Eclipse Indigo / CDT 8

2011-09-13 Thread svdbg
Hello, I usually develop with Visual STudio, but I have to code now on Eclipse so that my software is runnable on Linux. I so installed the last release of Eclipse, and want to run CMake 2.8.5 to export an Eclipse project. The solutions/projects that CMake generated for Visual are OK. When I

Re: [CMake] Using CMake for Eclipse Indigo / CDT 8

2011-09-13 Thread Eric Noulard
2011/9/13 sv...@free.fr: Hello, I usually develop with Visual STudio, but I have to code now on Eclipse so that my software is runnable on Linux. I so installed the last release of Eclipse, and want to run CMake 2.8.5 to export an Eclipse project. The solutions/projects that CMake

Re: [CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

2011-09-13 Thread Clifford Yapp
On Sun, Sep 11, 2011 at 11:01 PM, Peter Collingbourne pe...@pcc.me.ukwrote: It looks like various custom commands aren't running (some tcl related stuff, docbook documentation generation) - are custom commands currently supported? Yes, custom commands and targets are supported. There

Re: [CMake] Using CMake for Eclipse Indigo / CDT 8

2011-09-13 Thread svdbg
Which menu are you using to try the import? Here was the error : I was trying to import a C++ project. I do not observe the same behavior (no xml file required) .cproject and .project are xml files. Yes, but without the XML extension. :-) Did you try what's described here:

Re: [CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

2011-09-13 Thread Peter Collingbourne
On Tue, Sep 13, 2011 at 08:40:32AM -0400, Clifford Yapp wrote: On Sun, Sep 11, 2011 at 11:01 PM, Peter Collingbourne pe...@pcc.me.ukwrote: It looks like various custom commands aren't running (some tcl related stuff, docbook documentation generation) - are custom commands currently

Re: [CMake] VS 2010 macro

2011-09-13 Thread James Bigler
On Tue, Aug 30, 2011 at 9:11 AM, Bill Hoffman bill.hoff...@kitware.comwrote: On 8/30/2011 4:11 AM, Andrea Galeazzi wrote: Hi, I'd like to know if the bug 0011258 http://public.kitware.com/**Bug/view.php?id=11258http://public.kitware.com/Bug/view.php?id=11258 will be fixed or the community

Re: [CMake] cmLocalGenerator::GenerateInstallRules() needlessly slow?/missing optimization?

2011-09-13 Thread Alexander Neundorf
On Wednesday, September 07, 2011 11:12:55 AM Andreas Mohr wrote: Hi, just saw that the main cmake_install.cmake contains (at the end): FILE(WRITE [${CMAKE_BINARY_DIR}]/${CMAKE_INSTALL_MANIFEST} ) FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES}) FILE(APPEND

Re: [CMake] question about Eclipse CDT Generators

2011-09-13 Thread Alexander Neundorf
On Tuesday, September 06, 2011 06:53:23 PM cheshirekow wrote: Hi cmake list, I'm using cmake to manage a CUDA project, and I'm generating an eclipse project for development. Since CDT doesn't natively understand the output from the nvidia compiler, I've created a new regex error parser

Re: [CMake] Diff output from CMake?

2011-09-13 Thread Alexander Neundorf
On Tuesday, September 13, 2011 05:07:00 AM Clifford Yapp wrote: I am trying to compare two large lists of file paths (about 14,000 lines each) to identify which entries in each list are missing from the other, and while I can get CMake to do it I must be doing it the wrong way because the

Re: [CMake] Diff output from CMake?

2011-09-13 Thread David Cole
On Tue, Sep 13, 2011 at 1:39 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Tuesday, September 13, 2011 05:07:00 AM Clifford Yapp wrote: I am trying to compare two large lists of file paths (about 14,000 lines each) to identify which entries in each list are missing from the other,

Re: [CMake] Diff output from CMake?

2011-09-13 Thread Clifford Yapp
On Tue, Sep 13, 2011 at 1:58 PM, David Cole david.c...@kitware.com wrote: On Tue, Sep 13, 2011 at 1:39 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Tuesday, September 13, 2011 05:07:00 AM Clifford Yapp wrote: I am trying to compare two large lists of file paths (about 14,000

Re: [CMake] cmLocalGenerator::GenerateInstallRules() needlessly slow?/missing optimization?

2011-09-13 Thread Andreas Mohr
On Tue, Sep 13, 2011 at 03:33:01PM +0200, Alexander Neundorf wrote: On Wednesday, September 07, 2011 11:12:55 AM Andreas Mohr wrote: Depending on actual implementation of CMake (whether it has some caching logic or not), this might be woefully inefficient, causing a possibly

Re: [CMake] Diff output from CMake?

2011-09-13 Thread Eric Noulard
2011/9/13 Clifford Yapp cliffy...@gmail.com: On Tue, Sep 13, 2011 at 1:58 PM, David Cole david.c...@kitware.com wrote: On Tue, Sep 13, 2011 at 1:39 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Tuesday, September 13, 2011 05:07:00 AM Clifford Yapp wrote: I am trying to compare

Re: [CMake] Diff output from CMake?

2011-09-13 Thread Clifford Yapp
On Tue, Sep 13, 2011 at 3:52 PM, Clifford Yapp cliffy...@gmail.com wrote: (if CMake had sucked in openbsd's diff to implement its diff abilities, for example) Ah, nevermind - I see the key file still has the advertising clause BSD. Scratch that. ___

Re: [CMake] Diff output from CMake?

2011-09-13 Thread Clifford Yapp
Eric - Excellent! That looks like it will do the trick. Thank you! CY On Tue, Sep 13, 2011 at 4:53 PM, Eric Noulard eric.noul...@gmail.comwrote: If I understand it well you want to compute symmetric difference. Assuming BUILD_FILES and SVN_FILES initially contains the whole list of

[CMake] creating a library -- folder layout??

2011-09-13 Thread Cristobal Navarro
hello everyone! this is my first post on the mailing list i am making a shared library i have everything configured properly so that cmake creates de makefile scripts as espected at the moment cmake is installing my library by default into: /usr/local/lib/mylib.so.0.1 (and the symlink mylib.so)

Re: [CMake] creating a library -- folder layout??

2011-09-13 Thread Eric Noulard
2011/9/13 Cristobal Navarro axisch...@gmail.com: hello everyone! this is my first post on the mailing list i am making a shared library i have everything configured properly so that cmake creates de makefile scripts as espected at the moment cmake is installing my library by default into:

Re: [CMake] Diff output from CMake?

2011-09-13 Thread Eric Noulard
2011/9/13 Clifford Yapp cliffy...@gmail.com: Eric - Excellent!  That looks like it will do the trick. Thank you! Please tell us about the performance but from the implementation of REMOVE_ITEM I bet the performance shouldn't be that good: inside cmListCommand.cxx: bool cmListCommand

Re: [CMake] Running unit test as part of the build

2011-09-13 Thread Michael Hertling
On 09/13/2011 11:05 AM, Michael Wild wrote: On 09/12/2011 09:06 PM, Erik Johansson wrote: On Mon, Sep 12, 2011 at 20:30, Michael Wild them...@gmail.com wrote: How about using a custom command that runs the unit test using a wrapper script that upon successful completion creates a stamp-file

[Cmake-commits] CMake branch, master, updated. v2.8.5-452-ga0ec7a0

2011-09-13 Thread David Cole
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 a0ec7a00d5fe1a8b65329545f24080af581705be (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.5-455-g0b29621

2011-09-13 Thread David Cole
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 0b29621e6c15ea04b67ea541fb02403b315a770a (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.5-460-g98d5623

2011-09-13 Thread David Cole
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 98d5623a7b809a8d730fd197412935b52f234e7d (commit) via