Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-23 Thread Stephen Kelly
Brad King wrote: On 10/22/2012 05:42 PM, Stephen Kelly wrote: Ah, I was wondering about that when I wrote that patch, but forgot to put in the email. I thought they would be able to have per-config dependencies. set_property(TARGET foo LINK_LIBRARIES $$Config:Debug:debughelpers will

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-23 Thread Brad King
On 10/23/2012 09:13 AM, Stephen Kelly wrote: What is 'link-aware code'? A part of the cmake implementation that has rules specific to linking where the difference between the direct and transitive dependencies is important? cmComputeLinkDepends is exclusively responsible for handling

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-23 Thread Stephen Kelly
Brad King wrote: On 10/23/2012 09:13 AM, Stephen Kelly wrote: What is 'link-aware code'? A part of the cmake implementation that has rules specific to linking where the difference between the direct and transitive dependencies is important? cmComputeLinkDepends is exclusively responsible

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-23 Thread Brad King
On 10/23/2012 10:15 AM, Stephen Kelly wrote: Something like this, yes. It may be really nasty to know when to trigger the policy because we need to know whether the project loads its own export() output. One way would be for include() and find_package() to query the global generator to

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-23 Thread Stephen Kelly
Brad King wrote: On 10/23/2012 10:15 AM, Stephen Kelly wrote: Something like this, yes. It may be really nasty to know when to trigger the policy because we need to know whether the project loads its own export() output. One way would be for include() and find_package() to query the

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-23 Thread Brad King
On 10/23/2012 10:49 AM, Stephen Kelly wrote: Yep, can do. I already had several local topics. I've reordered them, force pushed and also pushed the intermediate branches. The topics use-generator-target and target-location-configure-time don't depend on anything or each other, so I can

Re: [cmake-developers] Review request: FindQt4-nonfatal-if-Qt5-found

2012-10-23 Thread Clinton Stimpson
It looks like that branch removes the error if find_package(Qt4 REQUIRED) doesn't find Qt 4.x. No? If it does remove the error, that seems wrong. Is there another way to avoid the error in the cmake unit tests? On Friday, October 19, 2012 03:08:26 PM Stephen Kelly wrote: Hi, I've just

Re: [cmake-developers] Review request: FindQt4-nonfatal-if-Qt5-found

2012-10-23 Thread David Cole
On Tue, Oct 23, 2012 at 11:43 AM, Clinton Stimpson clin...@elemtech.com wrote: It looks like that branch removes the error if find_package(Qt4 REQUIRED) doesn't find Qt 4.x. No? If it does remove the error, that seems wrong. Is there another way to avoid the error in the cmake unit tests?

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-23 Thread Alan W. Irwin
Here is the current status of the hunt for the solution of this issue. In sum, the subject line should be changed to Incomplete gfortran library link command always issued for downloaded Microsoft version of CMake but not for a bootstrapped version of CMake for MinGW/MSYS on Wine-1.5.15 My

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-23 Thread David Cole
Short update: - I ran the script Alan sent me on a real Windows 7 machine, and didnot reproduce the problem while using the pre-built binary install of CMake 2.8.9 For more details, email back, and I'll give you any info you need... Cheers, David On Tue, Oct 23, 2012 at 3:57 PM, Alan W.

[cmake-developers] [CMake 0013601]: LinkDelaySign /KEYFILE and /DELAYSIGN parameters do not work

2012-10-23 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13601 == Reported By:dmytro_ovdiienko Assigned To:

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-23 Thread Alan W. Irwin
On 2012-10-23 17:41-0400 David Cole wrote: Short update: - I ran the script Alan sent me on a real Windows 7 machine, and didnot reproduce the problem while using the pre-built binary install of CMake 2.8.9 Thanks, David, for running that test which appears to rule out a compiler bug (for

Re: [CMake] Continue install after a failure

2012-10-23 Thread Petr Kmoch
On Mon, Oct 22, 2012 at 4:58 PM, David Cole david.c...@kitware.com wrote: On Mon, Oct 22, 2012 at 3:22 AM, Petr Kmoch petr.km...@gmail.com wrote: Hi Andreas, thanks for your tip. Unfortunately, 'make -k install' doesn't help, as the entire install step is a single command (cmake -P

Re: [CMake] CPack: Project and independent subproject

2012-10-23 Thread Romain LEGUAY
Thank you Eric, I succeed to create the package by using CPACK_INSTALL_CMAKE_PROJECTS variable. I have some problem now to put my package in a specific folder. I try to set CPACK_TOPLEVEL_TAG variable but there is no change... Le 22/10/12 20:59, Eric Noulard a écrit : If you want to have

Re: [CMake] [SOLVED] CPack: Project and independent subproject

2012-10-23 Thread Romain LEGUAY
Le 23/10/12 10:45, Romain LEGUAY a écrit : Thank you Eric, I succeed to create the package by using CPACK_INSTALL_CMAKE_PROJECTS variable. I have some problem now to put my package in a specific folder. I try to set CPACK_TOPLEVEL_TAG variable but there is no change... I just resolve this

Re: [CMake] CPack: Project and independent subproject

2012-10-23 Thread Eric Noulard
2012/10/23 Romain LEGUAY romain.leg...@gmail.com: Thank you Eric, I succeed to create the package by using CPACK_INSTALL_CMAKE_PROJECTS variable. I have some problem now to put my package in a specific folder. I try to set CPACK_TOPLEVEL_TAG variable but there is no change... Toplevel

Re: [CMake] Continue install after a failure

2012-10-23 Thread David Cole
On Tue, Oct 23, 2012 at 2:53 AM, Petr Kmoch petr.km...@gmail.com wrote: On Mon, Oct 22, 2012 at 4:58 PM, David Cole david.c...@kitware.com wrote: On Mon, Oct 22, 2012 at 3:22 AM, Petr Kmoch petr.km...@gmail.com wrote: Hi Andreas, thanks for your tip. Unfortunately, 'make -k install'

Re: [CMake] Not all targets are built on Linux

2012-10-23 Thread David Cole
Are you using EXCLUDE_FROM_ALL anywhere in the CMakeLists files? http://cmake.org/cmake/help/v2.8.9/cmake.html#prop_tgt:EXCLUDE_FROM_ALL Sending us a snippet of the CMakeLists file for one of the targets that does not get built in 'all' might be helpful. On Mon, Oct 22, 2012 at 11:41 AM,

Re: [CMake] Continue install after a failure

2012-10-23 Thread Eric Noulard
2012/10/23 David Cole david.c...@kitware.com: On Tue, Oct 23, 2012 at 2:53 AM, Petr Kmoch petr.km...@gmail.com wrote: On Mon, Oct 22, 2012 at 4:58 PM, David Cole david.c...@kitware.com wrote: On Mon, Oct 22, 2012 at 3:22 AM, Petr Kmoch petr.km...@gmail.com wrote: Hi Andreas, thanks for

Re: [CMake] Continue install after a failure

2012-10-23 Thread Petr Kmoch
On Tue, Oct 23, 2012 at 1:07 PM, Eric Noulard eric.noul...@gmail.comwrote: 2012/10/23 David Cole david.c...@kitware.com: On Tue, Oct 23, 2012 at 2:53 AM, Petr Kmoch petr.km...@gmail.com wrote: On Mon, Oct 22, 2012 at 4:58 PM, David Cole david.c...@kitware.com wrote: On Mon, Oct 22,

[CMake] Cmake link trouble in Windows

2012-10-23 Thread 张峰
hello: Thanks for your help。 but now i am in another trouble. In Windows,i am trying to build a shard library,It needs to link dynamic library and static library。 when i want to link a dynamic library,it comes: (fatal error U1073:does not know how to generate ACE.lib)

Re: [CMake] Cmake link trouble in Windows

2012-10-23 Thread John Drescher
Thanks for your help。 but now i am in another trouble. In Windows,i am trying to build a shard library,It needs to link dynamic library and static library。 when i want to link a dynamic library,it comes: (fatal error U1073:does not know how to generate ACE.lib) AUX_SOURCE_DIRECTORY(.

Re: [CMake] Cmake link trouble in Windows

2012-10-23 Thread Vyacheslav Karamov
Hi! 1. I don't understand what did you mean, but I guess you want to create library test ADD_LIBRARY(test SHARED ${FAN_SRC}) then you wanted to specify in which directory some libraries should be searched LINK_DIRECTORIES(${ACE_LIB_DIR}) and then you tried to link library ACE with your

Re: [CMake] Cmake link trouble in Windows

2012-10-23 Thread Bill Hoffman
On 10/23/2012 10:55 AM, Vyacheslav Karamov wrote: 1. I don't understand what did you mean, but I guess you want to create library test CMake will link to the right thing. The trick is symbols are not exported by default on windows. So, if you do not change your code, no symbols are

[CMake] How to update CTestCustom.cmake.in so that message like You are in 'detached HEAD' state. are ignored ?

2012-10-23 Thread Jean-Christophe Fillion-Robin
Hi Folks, I tried to add an exception to CTestConfig.cmake [1] so that message like *You are in 'detached HEAD' state* are not reported by it seems I am missing something. CTestCustom.cmake.in: https://github.com/Slicer/Slicer/blob/master/CMake/CTestCustom.cmake.in#L242-243 CDash output:

Re: [CMake] Project-specific setting with cmake - eclipse CDT project generator?

2012-10-23 Thread Alexander Neundorf
On Monday 22 October 2012, Markus Litz wrote: Yes that is true. But there are some things that are stored for that project. For example, if you would like to add a specific source code formatter, you define it at C/C++ General - Formatter - Enable project specific settings. These are setting

[Cmake-commits] CMake branch, master, updated. v2.8.9-579-g2362bc8

2012-10-23 Thread Kitware Robot
) +set(CMake_VERSION_TWEAK 20121023) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- CMake

[Cmake-commits] CMake branch, next, updated. v2.8.9-1184-g0fe44df

2012-10-23 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 0fe44df91e5a64be7c6900d174f49723d2f839e8 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.9-1189-gc52d7f9

2012-10-23 Thread Clinton Stimpson
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 c52d7f9f742174c0fdb53ebe7732814d08daca96 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.9-581-g0276f4e

2012-10-23 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 0276f4e9f42e4ac07c2f9dc48f7576f863e9326f (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.9-583-gc26373f

2012-10-23 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 c26373f6ca9762c0bd9950eb3aa5f1183f370842 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.9-588-g2b5635e

2012-10-23 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 2b5635ee2327a41688a7ccfdf80a534a47268131 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.9-592-g02b993b

2012-10-23 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 02b993b1ca3fc569aca2af6b0cf7eb442b5b8e2a (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.9-1196-g1b3376d

2012-10-23 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, next has been updated via 1b3376d80ae926e4f4a6e03acd15be6c8f38aa4d (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.9-593-gf551fa6

2012-10-23 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index e2442cd..33d1411 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ set(CMake_VERSION_MAJOR 2) set(CMake_VERSION_MINOR 8) set(CMake_VERSION_PATCH 9) -set(CMake_VERSION_TWEAK 20121023