Re: [cmake-developers] Was AUTOMOC designed to run for each build?

2014-09-25 Thread Stephen Kelly
Alexander Neundorf wrote: >> I don't see why the target is executed each time, but is it that way by >> design? > > iirc, yes. > The moc files have to be generated before any of the source files is > compiled, so automoc is in a target the actual target depends on. > IIRC it is exclude_from_all s

Re: [cmake-developers] Extracting target metadata, IDE integration

2014-09-25 Thread Stephen Kelly
Aleix Pol wrote: > Hi, > Here's another iteration of the patch [1]. Thanks for this. Can you tell me why exportName is part of the output? http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/10711/focus=11009 Thanks, Steve. -- Powered by www.kitware.com Please keep messages

Re: [cmake-developers] Extracting target metadata, IDE integration

2014-09-25 Thread Stephen Kelly
Anton Makeev wrote: > Hey everyone, > > We are developing CLion at JetBrains that utilizes CMake as its main > project model. Stephen Kelly timely drew our attention to this discussion, > and I’d like to share some thoughts. Here are the general ones and I’ll > also comment on separate messages i

[cmake-developers] [CMake 0015172]: Show progress during generation step

2014-09-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15172 == Reported By:Stephen Kelly Assigned To:

[cmake-developers] Support of codesign

2014-09-25 Thread A. Klitzing
Hi there, I refactored the patches of Brian Milco to support code signing of bundles in MacOS. As we don't need AppStore support at the moment we didn't added the special generator for it. That could be a separate step later. As long as it runs codesign only it should be trivial enough to add it.

Re: [cmake-developers] Extracting target metadata, IDE integration

2014-09-25 Thread Alexander Neundorf
On Thursday, September 25, 2014 07:14:38 Anton Makeev wrote: ... > Here is why I think the discussed functionality should not be a separate > generator: > > CLion doesn’t have it’s own project model nor is intended as build tool > replacement. Currently, the only option for CLion users is makefile

Re: [cmake-developers] [CMake] Windows rpath emulation

2014-09-25 Thread Nils Gladitz
On 09/25/2014 03:17 PM, Brad King wrote: Note that CMake now has a "cmake -E env" feature that could be used in custom commands and tests to set PATH before launching an executable. I currently use CMake scripts as wrappers for custom commands which set ENV{PATH} and the ENVIRONMENT property i

Re: [cmake-developers] [PATCH] stage/compact-status-log

2014-09-25 Thread Brad King
On 09/25/2014 09:43 AM, Adam Strzelecki wrote: >> I think the delayed-\n approach is the simplest. In the >> case that the output is interrupted by other content it >> almost certainly means something is going wrong anyway. > > Does CMake use popen to launch processes? Or it just spawns > them pr

Re: [cmake-developers] [PATCH] stage/compact-status-log

2014-09-25 Thread Adam Strzelecki
> I think the delayed-\n approach is the simplest. In the > case that the output is interrupted by other content it > almost certainly means something is going wrong anyway. Does CMake use popen to launch processes? Or it just spawns them providing them direct access to stdin/out/err? If it was

Re: [cmake-developers] [CMake] Windows rpath emulation

2014-09-25 Thread Brad King
On 09/25/2014 08:45 AM, Nils Gladitz wrote: > @Brad: Before I rush into implementing anything and given that David > already raised concerns ... would anything like this be considered for > merge into CMake? I'm not convinced it should be a builtin CMake feature. KWSys provides the "SharedForwa

Re: [cmake-developers] [CMake] Windows rpath emulation

2014-09-25 Thread Nils Gladitz
@Brad: Before I rush into implementing anything and given that David already raised concerns ... would anything like this be considered for merge into CMake? Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitw

Re: [cmake-developers] Extracting target metadata, IDE integration

2014-09-25 Thread Anton Makeev
Hey everyone, We are developing CLion at JetBrains that utilizes CMake as its main project model. Stephen Kelly timely drew our attention to this discussion, and I’d like to share some thoughts. Here are the general ones and I’ll also comment on separate messages in the thread. We’ve managed to